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

第一行文字设置字体大小文字会被遮挡 #5986

Open
yangbo960618 opened this issue Oct 23, 2024 · 3 comments
Open

第一行文字设置字体大小文字会被遮挡 #5986

yangbo960618 opened this issue Oct 23, 2024 · 3 comments

Comments

@yangbo960618
Copy link

问题描述

第一行文字设置字体大小文字会被遮挡 我设置是40px

wangEditor 版本

5.1.23

是否查阅了文档 ?

最小成本的复现步骤

1.直接在官网提供的demo地址也能复现地址如下:https://www.wangeditor.com/demo/index.html
2.随便打几个字母然后选中设置字体大小40px
3
image

@cycleccc
Copy link

chrome、edge、firefox 试了没有复现

@yangbo960618
Copy link
Author

@cycleccc 这个是我的数据 用我的数据可以复现 文字中间有个sup标签
<p><span style=\"font-size: 40px; font-family: 微软雅黑;\"><sup><strong>sfdsf</strong></sup></span></p><p><br></p><p><span style=\"font-size: 40px; font-family: 微软雅黑;\"><sup><strong>sdfsfsdsf sfsfsdfs</strong></sup></span></p><table style=\"width: auto;\"><tbody><tr><th colSpan=\"1\" rowSpan=\"1\" width=\"auto\">sadsadsad</th><th colSpan=\"1\" rowSpan=\"1\" width=\"auto\">asdsadasda</th><th colSpan=\"1\" rowSpan=\"1\" width=\"auto\">asdasd</th><th colSpan=\"1\" rowSpan=\"1\" width=\"auto\">asdasdsadad</th><th colSpan=\"1\" rowSpan=\"1\" width=\"auto\">asdasdasdasda</th></tr><tr><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\">asdasda<br>asdasd😀<br>sad</td><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td></tr><tr><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td><td colSpan=\"1\" rowSpan=\"1\" width=\"auto\"></td></tr></tbody></table><p>sdf</p><p>sdf</p><p>sdf</p><p>sdf<sup>sdfsdf</sup></p><h3>sdf</h3><p>sdasd</p><p><br></p><p><br></p>

@cycleccc
Copy link

已复现,待修复

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