CKEDITOR.plugins.ae_placeholder Class
Defined in:
src/plugins/placeholder.js:8
CKEditor plugin which allows adding a placeholder to the editor. In this case, if there is no content to the editor, there will be hint to the user.
Index
Methods
Attributes
Methods
_checkEmptyData
(
protected
-
editor
Removes any data from the content and adds a class, specified by the "placeholderClass" config attribute.
Parameters:
-
editor
CKEDITOR.dom.eventevent, fired from CKEditor
_removePlaceholderClass!~YUIDOC_LINE~! + @param editor event, fired from CKEditor
()
protected
Remove placeholder class when input is focused
init
(
-
editor
Initialization of the plugin, part of CKEditor plugin lifecycle. The function registers a 'blur' and 'contentDom' event listeners.
Parameters:
-
editor
ObjectThe current editor instance