The last method that editor will call to a plugin before it is disposed. Plugin can take this chance to clear the reference to editor. After this method is called, plugin should not call to any editor method since it will result in error.
Get a friendly name of this plugin
The first method that editor will call to a plugin when editor is initializing. It will pass in the editor instance, plugin should take this chance to save the editor reference so that it can call to any editor method or format API later.
The editor object
When user clicks on a button, call this method to let the plugin to handle this click event
The button that is clicked
Key of child menu item that is clicked if any
The localized string map for this button
Core method for a plugin. Once an event happens in editor, editor will call this method of each plugin to handle the event as long as the event is not handled exclusively by another plugin.
The event to handle:
Register a callback to be invoked when format state of editor is changed, returns a disposer function.
Enter live preview state (shadow edit) of editor if there is a non-collapsed selection
The button that triggered this action
Key of the hovered button sub item
The localized string map for this button
Leave live preview state (shadow edit) of editor
Check if the plugin should handle the given event exclusively. Handle an event exclusively means other plugin will not receive this event in onPluginEvent method. If two plugins will return true in willHandleEventExclusively() for the same event, the final result depends on the order of the plugins are added into editor
The event to check:
Set the UI utilities objects to this plugin to help render additional UI elements
The UI utilities object to set
Generated using TypeDoc
Represents a plugin to connect format ribbon component and the editor