public interface MagnoliaCKEditorTextFieldEvents
Modifier and Type | Interface and Description |
---|---|
static interface |
MagnoliaCKEditorTextFieldEvents.PluginListener
Event handler listener for plugin connectivity.
|
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_CANCEL_LINK
Event is transmitted from server to client when a link dialog has been
canceled or an exception has occurred.
|
static String |
EVENT_GET_MAGNOLIA_LINK
Event is transmitted from client to server when a user requests a link dialog.
|
static String |
EVENT_SEND_MAGNOLIA_LINK
Event is transmitted from server to client when a link has been selected.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(MagnoliaCKEditorTextFieldEvents.PluginListener listener) |
default void |
firePluginEvent(String event)
Send event to CKEditor instance.
|
void |
firePluginEvent(String event,
String value)
Send event to CKEditor instance.
|
static final String EVENT_SEND_MAGNOLIA_LINK
static final String EVENT_CANCEL_LINK
static final String EVENT_GET_MAGNOLIA_LINK
void firePluginEvent(String event, String value)
event
- Event name that plugin can attach with: editor.on('event', function(e) {...});value
- Additional event data. Plugin can access this by e.datadefault void firePluginEvent(String event)
void addListener(MagnoliaCKEditorTextFieldEvents.PluginListener listener)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.