-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
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
扩展菜单注册太过繁琐 #2493
Comments
Closed
Closed
Merged
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
当前扩展菜单是在每个实例中都去注册,但是其实这并没有必要,其实第一个实例注册后,后续的实例只需要设置
editor.config.menus
即可。既然如此,何不直接在
wangEditor
上提供一个静态接口呢,实例化之前全局注册,后续就没必要这么麻烦了wangEditor 版本
v4
是否查阅了文档 ?
是
最小成本的复现步骤
当前实现
期望实现
The text was updated successfully, but these errors were encountered: