engine/model/utils/autoparagraphing
@ckeditor/ckeditor5-engine/src/model/utils/autoparagraphing
module
Filtering
Functions
-
autoParagraphEmptyRoots( writer ) → Boolean
module:engine/model/utils/autoparagraphing~autoParagraphEmptyRoots
protected
Fixes all empty roots.
Parameters
writer : Writer
The model writer.
Returns
Boolean
true
if any change has been applied,false
otherwise.
-
isParagraphable( position, nodeOrType, schema )
module:engine/model/utils/autoparagraphing~isParagraphable
protected
Checks if the given node wrapped with a paragraph would be accepted by the schema in the given position.
-
wrapInParagraph( position, writer ) → Position
module:engine/model/utils/autoparagraphing~wrapInParagraph
protected
Inserts a new paragraph at the given position and returns a position inside that paragraph.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.