diff --git a/src/rich_text_editor/model/RichTextEditor.ts b/src/rich_text_editor/model/RichTextEditor.ts index 7a45f6fa6..fb8d3e7c2 100644 --- a/src/rich_text_editor/model/RichTextEditor.ts +++ b/src/rich_text_editor/model/RichTextEditor.ts @@ -9,7 +9,7 @@ import { getModel } from '../../utils/mixins'; export interface RichTextEditorAction { name: string; - icon: string; + icon: string | HTMLElement; event?: string; attributes?: Record; result: (rte: RichTextEditor, action: RichTextEditorAction) => void;