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 4b0c4e16b8b17cfd4b0eb2d3ffbe73300e0af9d3..debf1120a826238a3f871f5d8aec73c6983abfc0 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 + "]"