cycleccc
cycleccc
 有的呀
https://www.wangeditor.com/demo/set-html.html 在这里可以快速验证 sethtml 过滤出来的 html
可以的,有更进一步的错误麻烦反馈一下,感谢,方便的话可以提到[wangeditor-next](https://github.com/cycleccc/wangEditor-next)里🧐
@hykeda 在setHtml 时还是尽量先过滤不必要的 div 标签再写入,不好兼容。
> https://www.wangeditor.com/demo/set-html.html 这里测试确实可以,vue和react上测试确实不行。这个需求还算常见吧,特别是那种采集过来和历史数据割接过来的 采集过来再过滤一遍 div,这个操作会产生比较大的影响吗,如果大的话,我在 [wangeditor-next](https://github.com/cycleccc/wangEditor-next) 提个 issue,后续更改。 在这里回复了我忙过去容易忘。
do you mean something like this?  if you want click the side hover bar and insert node,that need dev a new side bar. There is currently no such option...
> Also it would have been better if someone helps me to figure out how to manually open the image explorer in the editor so that I could open it...
This site (https://huixie.iflyrec.com/list) was developed using WangEditor to create a sidebar. You can try cloning it.
It can be controlled by modifying the isDisabled method. It can also be clicked without selection. like that https://github.com/cycleccc/wangEditor-next/blob/139268eac7ea2f9444d99263f08e8525b9fc5cf0/packages/basic-modules/src/modules/divider/menu/InsertDividerMenu.ts#L25
指的是选区蓝色背景消失了吗,wangEditor 选区底层使用的就是浏览器的选区,focus 切换了选区消失是正常的。