CKEDITOR.plugins.widgetselection
Filtering
Properties
-
The end filler element reference.
-
-
The default content of the filler element. Note: The filler needs to have
visiblecontent. Unprintable elements or empty content do not help as a workaround.Defaults to
' ' -
-
The start filler element reference.
Methods
addFillers( editable ) → BooleanCKEDITOR.plugins.widgetselection#addFillersAdds a filler before or after a non-editable element at the beginning or the end of the
editable.Parameters
editable : editable
Returns
Boolean
removeFillers( editable )CKEDITOR.plugins.widgetselection#removeFillersRemoves 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
editable : editable
-
-
-
Creates a filler element.
Parameters
[ onEnd ] : BooleanIf filler will be placed on end or beginning of the content.
Returns
element
-
Creates a regular expression which will match the filler HTML in the text.
Parameters
[ onEnd ] : BooleanWhether a regular expression should be created for the filler at the beginning or the end of the content.
Returns
RegExp
-
Checks if there is any filler element in the given editable.
Parameters
editable : editable
Returns
Boolean
private
isWholeContentSelected( editable ) → BooleanCKEDITOR.plugins.widgetselection#isWholeContentSelectedChecks if the entire content of the given editable is selected.
Parameters
editable : editable
Returns
Boolean
-
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
filler : elementeditable : editable