engine/view/placeholder
@ckeditor/ckeditor5-engine/src/view/placeholder
module
Filtering
Functions
-
attachPlaceholder( view, element, placeholderText, [ checkFunction ] )
static
Attaches placeholder to provided element and updates it's visibility. To change placeholder simply call this method once again with new parameters.
Parameters
-
detachPlaceholder( view, element )
static
Removes placeholder functionality from given element.