CKEDITOR.plugins.ae_placeholder Class
src/plugins/placeholder.js:23
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
-
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
Properties
CKEDITOR enterMode config set the behavior of paragraphs When the content is empty CKEDITOR keeps the enterMode string into the content