wangEditor
wangEditor copied to clipboard
wangeditor 如何修改节点的文本?
const path = DomEditor.findPath(this.editor, node);
SlateTransforms.setNodes(this.editor,{
// @ts-ignore text:'测试' , color:'#000', bgColor:'#fff' },{ at: path }); vue wangeditorv5 版本 只能修改样式不能修改节点文本。如何替换