注册wangeditor-next/plugin-markdown 怎么让与toolbarConfig菜单 做联动 #460
chenxq-297
started this conversation in
General
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
问题描述
已经完成markdown插件注册,怎么配置菜单栏,或者说定义菜单的class里面 需要怎么开关markdown插件(以及markdown的预览模式)
wangEditor 版本
查阅了文档
注册组件:https://cycleccc.github.io/docs/guide/development#%E5%8A%AB%E6%8C%81%E7%BC%96%E8%BE%91%E5%99%A8%E4%BA%8B%E4%BB%B6%E5%92%8C%E6%93%8D%E4%BD%9C-%E6%8F%92%E4%BB%B6
自定义菜单类:https://cycleccc.github.io/docs/guide/development#selectmenu
自定义添加菜单:https://cycleccc.github.io/docs/guide/toolbar-config#insertkeys)
最小成本的复现步骤
1.安装以上版本依赖
2.Boot.registerPlugin(markdownModule)
3. ....
目前卡在的问题
Beta Was this translation helpful? Give feedback.
All reactions