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

脱离编辑器后,设置的col会属性失效,限制不住td的宽度 #162

Open
wyljp opened this issue Sep 6, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@wyljp
Copy link
Contributor

wyljp commented Sep 6, 2024

bug 描述

拿到html片段,向table中填入文案会把td撑开,因为table的width设置的是auto,这个时候 col属性失效

你预期的样子是?

td宽度固定,不会把td撑开

系统和浏览器及版本号

  • macOs
  • chrome

wangEditor-next 版本

最新

demo 能否复现该 bug ?

在线 demo

最小成本的复现步骤

下方链接这个就是从编辑器中获取的html片段,向里面填充内容。会撑开td
https://codepen.io/lijiangpeng7/pen/VwgooaE

@cycleccc cycleccc added the bug Something isn't working label Sep 6, 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

No branches or pull requests

2 participants