Skip to content
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

[Bug] Copy and paste cell contents are missing and an extra blank line between two lines #4090

Open
2 tasks done
hello-yajing opened this issue Nov 18, 2024 · 1 comment
Open
2 tasks done
Assignees
Labels

Comments

@hello-yajing
Copy link

在您提交此问题之前,您是否检查了以下内容?

  • 这真的是个问题吗?
  • 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。

受影响的包和版本

0.4.2

复现链接

预期行为

  1. 单元格内容包含<或>时,复制粘贴后内容不能缺少。
  2. 单元格内容包含换行符时,复制粘贴后两行中间有一行空白行。

实际行为

  1. 单元格内容包含尖括号内容会丢失
    丢失

  2. 单元格有换行符粘贴后多出空行
    空行

运行环境

Chrome

系统信息

System:
OS: Windows 11 10.0.22631
CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Memory: 3.19 GB / 15.84 GB
Binaries:
Node: 20.11.1 - D:\soft\node\node.EXE
Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.2.4 - D:\soft\node\npm.CMD
Browsers:
Edge: Chromium (130.0.2849.56)
Internet Explorer: 11.0.22621.3527

@hello-yajing hello-yajing added the bug Something isn't working label Nov 18, 2024
@univer-bot
Copy link

univer-bot bot commented Nov 18, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug] Copy and paste cell contents are missing and an extra blank line between two lines

Title: [Bug] Copy and paste cell contents are missing and an extra blank line between two lines


Before you submitted this question, did you check the following?

  • Is this really a problem?
  • I've searched Github Issues but haven't found any similar issues.

Affected packages and versions

0.4.2

Recurrence link

none

Expected behavior

  1. When the cell content contains < or >, the content cannot be missing after copying and pasting.
  2. When the cell content contains line breaks, there will be a blank line between the two lines after copying and pasting.

Actual behavior

  1. Cell content containing angle brackets will be lost
    Lost

  2. There are line breaks in cells and there are extra blank lines after pasting.
    empty line

Running environment

Chrome

System information

System:
OS: Windows 11 10.0.22631
CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Memory: 3.19 GB / 15.84 GB
Binaries:
Node: 20.11.1 - D:\soft\node\node.EXE
Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.2.4 - D:\soft\node\npm.CMD
Browsers:
Edge: Chromium (130.0.2849.56)
Internet Explorer: 11.0.22621.3527

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants