Skip to content

fix: HeaderSelectMenu支持以i18n方式自定义标题下拉菜单中H1-H5渲染内容#4819

Open
WhiteWhiteW wants to merge 1 commit into
wangeditor-team:masterfrom
WhiteWhiteW:fix_headerSelect_custom_text
Open

fix: HeaderSelectMenu支持以i18n方式自定义标题下拉菜单中H1-H5渲染内容#4819
WhiteWhiteW wants to merge 1 commit into
wangeditor-team:masterfrom
WhiteWhiteW:fix_headerSelect_custom_text

Conversation

@WhiteWhiteW
Copy link
Copy Markdown

功能:HeaderSelectMenu下拉列表支持以i18n方式自定义H1-H5渲染内容

使用:可通过 i18n 修改header1、header2...header5在菜单中渲染内容,默认渲染仍为H1、H2...H5

参考issue: #4555

@wangfupeng1988
Copy link
Copy Markdown
Collaborator

感觉这个需求没太有必要,H1 非得改成 header1 吗?

@WhiteWhiteW
Copy link
Copy Markdown
Author

这里预期是可以通过i18n,支持自定义标题下拉菜单内容的展示,并不是强制要求必须把H1改成“header1”哈

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

Successfully merging this pull request may close these issues.

2 participants