Skip to content
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

在工具栏中如何自定义显示 ‘header1’ ,‘header2’, ‘正文’ 菜单按钮(非dropPanel类型), #5953

Open
yamiyukiya opened this issue Sep 12, 2024 · 1 comment

Comments

@yamiyukiya
Copy link

问题描述

在工具栏中如何自定义显示 ‘正文’ 菜单按钮(非dropPanel类型),使用getAllMenuKeys() 获取菜单 key,只能找到 header1 header2 header3 菜单的key,没有 ‘正文’ 的key,想问问如何才能在工具栏显示出 ‘正文’ 的按钮(ButtonMenu类型)

wangEditor 版本

v5

是否查阅了文档 ?

(文档链接 www.wangeditor.com

最小成本的复现步骤

@cycleccc
Copy link

cycleccc commented Sep 12, 2024

配置一个正文 key 就行,看以下文档
https://cycleccc.github.io/docs/guide/menu-config#%E5%AD%97%E5%8F%B7
不用原有下拉菜单可以自定义一个正文菜单,看以下文档
https://cycleccc.github.io/docs/guide/development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants