Events overview
This page lists all events emitted by the DHTMLX RichText editor.
You can use these events to extend functionality, track user interaction, or trigger custom behavior.
| Name | Description |
|---|---|
| align | Fires when text alignment is changed via the menubar/toolbar or Event Bus methods |
| clear-text-format | Fires when a text format is cleared via the menubar/toolbar or Event Bus methods |
| copy | Fires when copying selected text |
| create-new | Fires when pressing the "New" option within the menubar or via Event Bus methods |
| cut | Fires when cutting selected text |
| delete-link | Fires when deleting a link |
| export | Fires after pressing the "Export" option in the menubar or via Event Bus methods |
| import | Fires after pressing the "Import" option in the menubar or via Event Bus methods |
| indent | Fires when increasing block indention |
| insert-image | Fires when inserting image |
| insert-line | Fires when inserting horizontal line |
| insert-link | Fires when inserting link |
| insert-list | Fires when inserting list |
| outdent | Fires when decreasing block indention |
| paste | Fires when pasting content |
| Fires when printing document | |
| redo | Fires when pressing the "Redo" button in the menubar/toolbar or via Event Bus methods |
| resize-image | Fires when resizing image |
| set-font-family | Fires when setting a font family |
| set-font-size | Fires when setting a font size |
| set-line-height | Fires when setting a line height |
| set-text-color | Fires when setting a text color and/or a background text color |
| set-text-format | Fires when setting a text format |
| set-text-style | Fires when setting a text style |
| show-popup | Fires when a popup is shown/hidden |
| subscript | Fires when pressing the "Subscript" button in the menubar/toolbar or via Event Bus methods |
| superscript | Fires when pressing the "Superscript" button in the menubar/toolbar or via Event Bus methods |
| toggle-fullscreen-mode | Fires when toggling the full screen mode |
| toggle-layout-mode | Fires when toggling the layout mode |
| toggle-shortcut-info | Fires when toggling the shortcut info |
| undo | Fires when pressing the "Undo" button in the menubar/toolbar or via Event Bus methods |
| update-link | Fires when updating link |