Class ops.OpSplitParagraph
Defined in: OpSplitParagraph.js.
Constructor Attributes | Constructor Name and Description |
---|---|
This operation splits the paragraph at the given
position.
|
Method Attributes | Method Name and Description |
---|---|
execute(document)
|
|
init(data)
|
|
spec()
|
Class Detail
ops.OpSplitParagraph()
This operation splits the paragraph at the given
position. If the `moveCursor` flag is specified
and is set as true, the cursor is moved to the
beginning of the next paragraph. Otherwise, it
remains in it's original position.
The paragraph style for the new paragraph is specified by the
paragraphStyleName. If blank or empty, the new paragraph will
have no specified style.
Method Detail
execute(document)
- Parameters:
- {!ops.Document} document
init(data)
- Parameters:
- {!ops.OpSplitParagraph.InitSpec} data
{!ops.OpSplitParagraph.Spec}
spec()
- Returns:
- {!ops.OpSplitParagraph.Spec}