univer
univer copied to clipboard
[Bug] If you copy text with local styles and paste it as a formula in a cell, the local styles will be retained.
Before you submit this issue, have you checked the following
- [X] Is this really a problem?
- [X] I have searched the Github Issues for similar issues, but did not find anything.
Affected packages and versions
dev
Reproduction link
操作步骤 1、给文本设置局部样式后复制 2、将该文本选择性粘贴为公式到其他单元格
Expected behavior
不会携带格式粘贴
Actual behavior
携带公式粘贴 Uploading 2024_4_30 17_29_56 video.webm…
System information
No response
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Origin Title: [Bug] 复制带局部样式的文本,在某单元格内粘贴为公式,局部样式会被保留
Title: [Bug] If you copy text with local styles and paste it as a formula in a cell, the local styles will be retained.
Before you submit this issue, have you checked the following
- [X] Is this really a problem?
- [X] I have searched the Github Issues for similar issues, but did not find anything.
Affected packages and versions
dev
Reproduction link
Steps
- Set a local style for the text and copy it
- Selectively paste the text as a formula into other cells
Expected behavior
Paste without formatting
Actual behavior
Paste with formula Uploading 2024_4_30 17_29_56 video.webm…
System information
No response
局部样式粘贴为公式时,还是会携带样式
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
When the local style is pasted as a formula, the style will still be carried