We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
只读模式下无法复制文本内容
只读模式下可以复制文本内容
@wangeditor-next/editor: 5.5.4 @wangeditor-next/editor-for-vue2: 1.0.2
不能,因为 demo 示例中没有只读模式的示例
复现示例:https://stackblitz.com/edit/vue2-vite-starter-syslwe?file=src%2Fcomponents%2FMyEditor.vue
在异步设置内容后调用 this.editor.disable() 设置只读模式
this.editor.disable()
mounted() { // 模拟 ajax 请求,异步渲染编辑器 setTimeout(() => { this.html = '<p>我是 Ajax 异步设置内容 HTML,你可以选中我,但是无法复制我</p>' // 回显数据后设置编辑器为只读模式 this.editor.disable() }, 1500) },
The text was updated successfully, but these errors were encountered:
wjw020206
No branches or pull requests
bug 描述
只读模式下无法复制文本内容
你预期的样子是?
只读模式下可以复制文本内容
系统和浏览器及版本号
wangEditor-next 版本
@wangeditor-next/editor: 5.5.4
@wangeditor-next/editor-for-vue2: 1.0.2
demo 能否复现该 bug ?
不能,因为 demo 示例中没有只读模式的示例
在线 demo
复现示例:https://stackblitz.com/edit/vue2-vite-starter-syslwe?file=src%2Fcomponents%2FMyEditor.vue
最小成本的复现步骤
在异步设置内容后调用
this.editor.disable()
设置只读模式The text was updated successfully, but these errors were encountered: