CKEDITOR.plugins.ae_richcombobridge Class
src/ui/react/src/uibridge/richcombo.jsx:197
CKEditor plugin that bridges the support offered by CKEditor RichCombo plugin. It takes over the responsibility of registering and creating rich combo elements via:
- editor.ui.addRichCombo(name, definition)
- editor.ui.add(name, CKEDITOR.UI_RICHCOMBO, definition)
Constructor
CKEDITOR.plugins.ae_richcombobridge
()
Index
Methods
Methods
generateRichComboBridge
-
richComboName
-
richComboDefinition
Generates a RichComboBridge React class for a given richcombo definition if it has not been already created based on the richcombo name and definition.
Parameters:
-
richComboName
StringThe rich combo name
-
richComboDefinition
ObjectThe rich combo definition
Returns:
The generated or already existing React RichCombo Class
init
-
editor
Set the add handler for UI_RICHCOMBO to our own. We do this in the init phase to override the one in the original plugin in case it's present
Parameters:
-
editor
ObjectThe CKEditor instance being initialized