Classes
AbstractEditorAnnotationCommandCommandComponentConfiguratorContainerSelectionDOMImporterDocumentDocumentNodeEditAnnotationCommandEditingEventEmitterInsertInlineNodeCommandNodeIndexPropertyAnnotationPropertySelectionProseEditorScrollPaneSelectionSpellCheckCommandSurfaceTextNodeTransactionDocumentVirtualElement
Components
Modules
DOMSelection
Class defined in ui/DOMSelection.js#23
new DOMSelection()
Constructor defined in ui/DOMSelection.js#25
this.getSelection(options)
Method defined in ui/DOMSelection.js#43
Create a model selection by mapping the current DOM selection to model coordinates.
Parameters
options | object |
|
Returns
model/Selection |
this.setSelection(sel)
Method defined in ui/DOMSelection.js#102
Transfer a given model selection into the DOM.
Parameters
sel | Selection |