tinymce.Annotator
This is the annotator api.
Summary
Methods
Name | Summary | Defined by |
---|---|---|
Applies the annotation at the current selection using data |
||
Executes the specified callback when the current selection matches the annotation or not. |
||
Retrieve all the annotations for a given name |
||
Registers a specific annotator by name |
||
Removes any annotations from the current selection that match the name |
||
Removes all annotations that match the specified name from the entire document. |
Methods
annotate()
annotate(name: String, data: Object)
Applies the annotation at the current selection using data
annotationChanged()
annotationChanged(name: String, callback: Function)
Executes the specified callback when the current selection matches the annotation or not.