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

Bug: 第一行文字设置字体大小文字会被遮挡 #282

Open
cycleccc opened this issue Oct 23, 2024 · 0 comments
Open

Bug: 第一行文字设置字体大小文字会被遮挡 #282

cycleccc opened this issue Oct 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cycleccc
Copy link
Owner

bug 描述

创建初始editor 时 html 设置
<p><span style=\"font-size: 40px; font-family: 微软雅黑;\"><sup><strong>sfdsf</strong></sup></span></p>

  editor = E.createEditor({
        selector: '#editor-text-area',
        html: `<p><span style=\"font-size: 40px; font-family: 微软雅黑;\"><sup><strong>sfdsf</strong></sup></span></p>`,
        config: editorConfig
  })

编辑区渲染异常
image

你预期的样子是?

文字不会溢出

系统和浏览器及版本号

  • 操作系统 win11
  • 浏览器和版本 chrome latest

wangEditor-next 版本

5.6.4

demo 能否复现该 bug ?

不能,需要在代码中设置

相关 issue

wangeditor-team/wangEditor#5986

@cycleccc cycleccc added the bug Something isn't working label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant