Classes
AbstractEditorAnnotationCommandCommandComponentConfiguratorContainerSelectionDOMImporterDocumentDocumentNodeEditAnnotationCommandEditingEventEmitterInsertInlineNodeCommandNodeIndexPropertyAnnotationPropertySelectionProseEditorScrollPaneSelectionSpellCheckCommandSurfaceTextNodeTransactionDocumentVirtualElement
Components
Modules
Annotation
Class defined in model/Annotation.js#5 inherits from
new Annotation()
Constructor defined in model/Annotation.js#7
this.getText()
Method defined in model/Annotation.js#60
Get the plain text spanned by this annotation.
Returns
String |
this.canSplit()
Method defined in model/Annotation.js#77
Determines if an annotation can be split e.g., when breaking a node.
In these cases, a new annotation will be created attached to the created node.
For certain annotation types,you may want to the annotation truncated
rather than split, where you need to override this method returning false
.
this.isAnchor()
Method defined in model/Annotation.js#90
If this annotation is an Anchor.
Anchors are annotations with a zero width. For instance, ContainerAnnotation have a start and an end anchor, or rendered cursors are modeled as anchors.
Returns
Boolean |