-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Clear inline elements
can work without selection
#8546
Comments
没太明白你的意思,比如粗体,在后面 ctrl+b 后会取消粗体。红色字体后面无需清除样式继续输入也是正常的文本。 如果需要清除整个红色字体的话是需要选中的,粗体也是需要选中后 ctrl+b 才会取消的。 |
就是说前面无论什么样式,按下清除样式快捷键,光标之后新打的文字就变正常了。 行内代码也好,同时带背景色和文字色也好,都能用统一的快捷键来跳出。 |
现在不按清除打出来的也是普通文本。 |
你这个是粗体、斜体等等的行内元素的组成的了,清除样式顾名思义只是清除样式(字号,大小,背景,颜色),清除不了这些行内元素。 |
工具栏上的那个清除样式,就是默认快捷键 ctrl+\ 那个,不是可以清除一切样式吗?包括行内样式。 现在只是允许这个快捷键在光标处可用。 |
Clear inline elements
can work without selection
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In what scenarios do you need this feature?
目前清除样式功能必须先选中文字。
带格式的文字可以在末尾按相应的快捷键取消之后的文字格式,
如果清除样式也有这样的操作逻辑的话,就能用统一的快捷键在光标处清除之后的样式,而无需考虑当前样式的快捷键。
特别是文字本身有多重样式时,这样取消样式更便捷。
Describe the optimal solution
清除样式快捷键允许在字符边界处使用
Describe the candidate solution
No response
Other information
No response
The text was updated successfully, but these errors were encountered: