From 6707eb17d38e952da6dc5efedc727e4222476807 Mon Sep 17 00:00:00 2001 From: Ben Peters Date: Sun, 3 Sep 2023 16:28:54 +1000 Subject: [PATCH] Up TS RichTextEditorAction. Closes #5357 (#5358) --- src/rich_text_editor/model/RichTextEditor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;