CKEditor 4 Documentation

CKEDITOR.plugins.widgetselection

Defined By

Properties

CKEDITOR.plugins.widgetselection
view source
: CKEDITOR.dom.elementprivate

The end filler element reference.

The end filler element reference.

CKEDITOR.plugins.widgetselection
view source
: Stringprivate
An attribute which identifies the filler element. ...

An attribute which identifies the filler element.

Defaults to: 'data-cke-filler-webkit'

CKEDITOR.plugins.widgetselection
view source
: Stringprivate
The default content of the filler element. ...

The default content of the filler element. Note: The filler needs to have visible content. Unprintable elements or empty content do not help as a workaround.

Defaults to: ' '

CKEDITOR.plugins.widgetselection
view source
: Stringprivate
Tag name which is used to create fillers. ...

Tag name which is used to create fillers.

Defaults to: 'div'

CKEDITOR.plugins.widgetselection
view source
: CKEDITOR.dom.elementprivate

The start filler element reference.

The start filler element reference.

Defined By

Methods

CKEDITOR.plugins.widgetselection
view source
( editable ) : Boolean
Adds a filler before or after a non-editable element at the beginning or the end of the editable. ...

Adds a filler before or after a non-editable element at the beginning or the end of the editable.

Parameters

Returns

  • Boolean
CKEDITOR.plugins.widgetselection
view source
( editor )private
Adds an integration for the Select All plugin to the given editor. ...

Adds an integration for the Select All plugin to the given editor.

Parameters

CKEDITOR.plugins.widgetselection
view source
( data ) : Stringprivate
Removes fillers from the paste data. ...

Removes fillers from the paste data.

Parameters

  • data : String

Returns

  • String
CKEDITOR.plugins.widgetselection
view source
( [onEnd] ) : CKEDITOR.dom.elementprivate
Creates a filler element. ...

Creates a filler element.

Parameters

  • onEnd : Boolean (optional)

    If filler will be placed on end or beginning of the content.

Returns

CKEDITOR.plugins.widgetselection
view source
( [onEnd] ) : RegExpprivate
Creates a regular expression which will match the filler HTML in the text. ...

Creates a regular expression which will match the filler HTML in the text.

Parameters

  • onEnd : Boolean (optional)

    Whether a regular expression should be created for the filler at the beginning or the end of the content.

Returns

  • RegExp
CKEDITOR.plugins.widgetselection
view source
( editable ) : Booleanprivate
Checks if there is any filler element in the given editable. ...

Checks if there is any filler element in the given editable.

Parameters

Returns

  • Boolean
CKEDITOR.plugins.widgetselection
view source
( editable ) : Booleanprivate
Checks if the entire content of the given editable is selected. ...

Checks if the entire content of the given editable is selected.

Parameters

Returns

  • Boolean
CKEDITOR.plugins.widgetselection
view source
( filler, editable )private
Removes the specific filler element from the given editable. ...

Removes the specific filler element from the given editable. If the filler contains any content (typed or pasted), it replaces the current editable content. If not, the caret is placed before the first or after the last editable element (depends if the filler was at the beginning or the end).

Parameters

CKEDITOR.plugins.widgetselection
view source
( editable )
Removes filler elements or updates their references. ...

Removes filler elements or updates their references.

It will not remove filler elements if the whole content is selected, as it would break the selection.

Parameters