- 官网
http://www.wangeditor.com/index.html - 使用文档
https://www.wangeditor.com/doc/ - github代码for vue
https://github.com/wangeditor-team/wangEdior-with-vue - 使用参考
https://www.jianshu.com/p/52852d39f869
https://www.cnblogs.com/zzz-knight/p/12156438.html
增加自定义菜单键资料补充(2021-05-27)
- 增加需求:上角标和下角标的功能
使用html实现只需要两个标签,但是自定义加在wangeditor就比较麻烦
<sup>下角标</sup>
<sub>上角标</sub>
- 官方自定义菜单示例代码
https://www.wangeditor.com/doc/pages/11-自定义扩展菜单/01-快速扩展一个菜单.html
其实已经比较清楚了,如何在vue-框架项目中使用,参考下面 - 如何在vue-框架项目中自定义菜单示例
https://blog.csdn.net/JCAL123/article/details/113341513 - 补充一个
https://blog.csdn.net/qq_39235055/article/details/107016627 - 中途参考了加粗的官方源码
https://github.com/wangeditor-team/wangEditor/blob/master/src/menus/bold/index.ts - 中间一度被Document.execCommand()底层的基础api搞疯
https://developer.mozilla.org/en-US/docs