如何使用 vue 二次封装wang editor #5693
Unanswered
manyuemeiquqi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
由于配置问题,期望进行二次封装组件在 vue3 环境下,
这里是 demo 中的示例,我期望进行外对暴露出 valueHtml 进行外部修改,于是改成了如下,
父组件调用为 如下
但是实际使用下来包装后 update 的时候产生了奇怪的错误,删除文本的时候会删除图片,是我包装的写法有问题么? 还是wangeditor 内部进行了其他处理,不能包装?
Beta Was this translation helpful? Give feedback.
All reactions