Skip to main content

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.

NameDescription
alignFires when text alignment is changed via the menubar/toolbar or Event Bus methods
clear-text-formatFires when a text format is cleared via the menubar/toolbar or Event Bus methods
copyFires when copying selected text
create-newFires when pressing the "New" option within the menubar or via Event Bus methods
cutFires when cutting selected text
delete-linkFires when deleting a link
exportFires after pressing the "Export" option in the menubar or via Event Bus methods
importFires after pressing the "Import" option in the menubar or via Event Bus methods
indentFires when increasing block indention
insert-imageFires when inserting image
insert-lineFires when inserting horizontal line
insert-linkFires when inserting link
insert-listFires when inserting list
outdentFires when decreasing block indention
pasteFires when pasting content
printFires when printing document
redoFires when pressing the "Redo" button in the menubar/toolbar or via Event Bus methods
resize-imageFires when resizing image
set-font-familyFires when setting a font family
set-font-sizeFires when setting a font size
set-line-heightFires when setting a line height
set-text-colorFires when setting a text color and/or a background text color
set-text-formatFires when setting a text format
set-text-styleFires when setting a text style
show-popupFires when a popup is shown/hidden
subscriptFires when pressing the "Subscript" button in the menubar/toolbar or via Event Bus methods
superscriptFires when pressing the "Superscript" button in the menubar/toolbar or via Event Bus methods
toggle-fullscreen-modeFires when toggling the full screen mode
toggle-layout-modeFires when toggling the layout mode
toggle-shortcut-infoFires when toggling the shortcut info
undoFires when pressing the "Undo" button in the menubar/toolbar or via Event Bus methods
update-linkFires when updating link