From 33c1948c19e4152d9f5bb6040583e964d7938328 Mon Sep 17 00:00:00 2001 From: yanmao <55792257+yanmao-cc@users.noreply.github.com> Date: Sun, 16 Jan 2022 16:29:12 +0800 Subject: [PATCH] Update config.tsx --- examples/react/components/editor/config.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/examples/react/components/editor/config.tsx b/examples/react/components/editor/config.tsx index 0b68b6ca..9c75e3eb 100644 --- a/examples/react/components/editor/config.tsx +++ b/examples/react/components/editor/config.tsx @@ -324,17 +324,10 @@ export const lineHeightOptions: LineHeightOptions = { export const toolbarOptions: ToolbarOptions = { popup: { items: [ - ['undo', 'redo'], + ['bold', 'strikethrough', 'fontcolor'], { icon: 'text', - items: [ - 'bold', - 'italic', - 'strikethrough', - 'underline', - 'backcolor', - 'moremark', - ], + items: ['italic', 'underline', 'backcolor', 'moremark'], }, [ {