未验证 提交 b4801c46 编写于 作者: O openharmony_ci 提交者: Gitee

!9882 新接口xts用例增加

Merge pull request !9882 from zhangshuqi/cherry-pick-1693032176
...@@ -124,6 +124,8 @@ struct richeditor2 { ...@@ -124,6 +124,8 @@ struct richeditor2 {
}) })
.key('richEditor') .key('richEditor')
.bindSelectionMenu(RichEditorSpanType.TEXT,this.SubMenu(),ResponseType.RightClick) .bindSelectionMenu(RichEditorSpanType.TEXT,this.SubMenu(),ResponseType.RightClick)
.bindSelectionMenu(RichEditorSpanType.IMAGE,this.SubMenu(),ResponseType.RightClick)
.bindSelectionMenu(RichEditorSpanType.MIXED,this.SubMenu(),ResponseType.RightClick)
.onSelect((value: RichEditorSelection) => { .onSelect((value: RichEditorSelection) => {
[this.start, this.end] = value.selection; [this.start, this.end] = value.selection;
this.message = "[" + this.start + ", " + this.end + "]" this.message = "[" + this.start + ", " + this.end + "]"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册