univer
univer copied to clipboard
[Bug] 右键菜单清除格式失效
初始清单
- [X] 这真的是个问题吗?
- [X] 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。
受影响的包和版本
dev
复现步骤
1、单元格设置格式加粗、倾斜、下划线 2、右键菜单清除格式后再输入文字
预期行为
清除格式后输入内容后不显示格式
实际行为
清除格式后输入文字显示格式加粗、倾斜、下划线 2024_1_23 15_56_21 commands.json 2024_1_23 15_56_21 video.webm
运行环境
No response
操作系统
No response
构建工具
No response
偶尔会出现。清除格式后,马上键盘输入进入编辑态,会遗留富文本样式 @Jocs 帮忙看看这个场景
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Occasionally. After clearing the format, enter the editing mode immediately by typing with the keyboard, and the rich text style will be left behind. @Jocs, please help take a look at this scenario.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Origin Title: [Bug] 右键菜单清除格式失效
Title: [Bug] Right-click menu clear format fails
Initial list
- [X] Is this really a problem?
- [X] I've searched Github Issues but haven't found any similar issues.
Affected packages and versions
dev
Reproduction steps
- Set the cell format to bold, italic, etc. > Enter content in the cell > Right-click on the selected cell to clear the format > Enter content in the same cell
Expected behavior
After clearing the format, the format is not displayed after inputting content.
Actual behavior
After clearing the format, enter text and display the format in bold, italic, and underline. 2024_1_23 15_56_21 commands.json 2024_1_23 15_56_21 video.webm
Running environment
No response
operating system
No response
Build tools
No response