提交 dab4a445 编写于 作者: Z zhangshuqi
上级 d3466910
......@@ -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 + "]"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册