From 5943c68d10884e5c6660cff793b905037c3a6021 Mon Sep 17 00:00:00 2001 From: zhangshuqi Date: Fri, 25 Aug 2023 19:10:42 +0800 Subject: [PATCH] =?UTF-8?q?RichEdtior=E6=96=B0=E6=8E=A5=E5=8F=A3=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangshuqi --- .../entry/src/main/ets/MainAbility/pages/richEditor.ets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/richEditor.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/richEditor.ets index 4b0c4e16b..debf1120a 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/richEditor.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/richEditor.ets @@ -124,6 +124,8 @@ struct richeditor2 { }) .key('richEditor') .bindSelectionMenu(RichEditorSpanType.TEXT,this.SubMenu(),ResponseType.RightClick) + .bindSelectionMenu(RichEditorSpanType.IMAGE,this.SubMenu(),ResponseType.RightClick) + .bindSelectionMenu(RichEditorSpanType.MIXED,this.SubMenu(),ResponseType.RightClick) .onSelect((value: RichEditorSelection) => { [this.start, this.end] = value.selection; this.message = "[" + this.start + ", " + this.end + "]" -- GitLab