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
粗体、斜体、下划线和删除线继承块元素颜色
如果块设定了颜色样式appearance,对其中一些文字选择加粗,字体颜色变为黑色。 之前的版本不是这样的,会保留字体颜色的。
以前,对块设定样式appearance,里面输入的文字都会继承块的设定,对其中的某些文本字段进行加粗,是可以保留块所设定的颜色的。 现在不行了,加粗的文本字体颜色变回黑色。需要手动再设置颜色。比之前操作量增加了。
No response
- Version: v3.1.10 - Operating System: win10最新
siyuan.log
The text was updated successfully, but these errors were encountered:
应该一直都是这样的,22 年的代码就是这样的了,被以下样式重置了。
Sorry, something went wrong.
一直都有用户反馈这个加粗之后字体变黑的问题来着。我建议统一去掉行级元素自带的 color
额,我把我的笔记又翻了看了下,确实是我记错了,我之前的用法是:设置了块的样式appearance,然后设置标题等级heading,是heading自带了加粗的效果,这个情况下,可以同时继承块appearance & heading的设置。
但是,我在想,块和文本 appearance设置、显示的优先级,可否优化下,我认为以下这种逻辑可能更好一点?
这样的话,和目前appearance 中 delete style 的操作逻辑保持一致,好一点,编辑的自由度、统一性也能更好一点。
🎨 #13043
1cf1854
Vanessa219
No branches or pull requests
粗体、斜体、下划线和删除线继承块元素颜色
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
如果块设定了颜色样式appearance,对其中一些文字选择加粗,字体颜色变为黑色。
之前的版本不是这样的,会保留字体颜色的。
default.mp4
Expected result
以前,对块设定样式appearance,里面输入的文字都会继承块的设定,对其中的某些文本字段进行加粗,是可以保留块所设定的颜色的。
现在不行了,加粗的文本字体颜色变回黑色。需要手动再设置颜色。比之前操作量增加了。
Screenshot or screen recording presentation
No response
Version environment
Log file
siyuan.log
More information
No response
The text was updated successfully, but these errors were encountered: