We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现在思源笔记的表格有一个问题,直接往表格里粘贴长文本,表格的宽度默认会被拉的很长,想再拖回适当宽度很费劲
我发现表格添加word-wrap和列max-width就能解决这个问题,并且max-width这个值只是影响粘贴文字时的最大列宽度,默认的表格宽度依然是60px,也依然可以调整表格的列宽度
/* 表格文字换行 */ .protyle-wysiwyg div.table[data-node-id] table { word-wrap: break-word; } /* 设置表格每列默认宽度 */ .protyle-wysiwyg div.table[data-node-id] table tr td{ max-width: 400px; }
none
No response
The text was updated successfully, but these errors were encountered:
:lipsticks: #10136
b669d1a
如果列少的话 max-width 设置为 620 可能比较好一点。
Sorry, something went wrong.
好的
Vanessa219
No branches or pull requests
In what scenarios do you need this feature?
现在思源笔记的表格有一个问题,直接往表格里粘贴长文本,表格的宽度默认会被拉的很长,想再拖回适当宽度很费劲
Describe the optimal solution
我发现表格添加word-wrap和列max-width就能解决这个问题,并且max-width这个值只是影响粘贴文字时的最大列宽度,默认的表格宽度依然是60px,也依然可以调整表格的列宽度
Describe the candidate solution
none
Other information
No response
The text was updated successfully, but these errors were encountered: