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] univerAPI.getActiveWorkBook().getActiveSheet().getRange(0,0,2,2).generateHTML() structure is incorrect. #2486

Open
2 tasks done
huazhuwang opened this issue Jun 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Priority:P1 scope:facade

Comments

@huazhuwang
Copy link

huazhuwang commented Jun 12, 2024

Before you submit this issue, have you checked the following

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

0.1.14

Reproduction link

  1. drag the column B, set its width to 200px.
  2. edit B1, input some words.
  3. then excute univerAPI.getActiveWorkBook().getActiveSheet().getRange(0,0,2,2).generateHTML()
  4. the return structure is incorrect

image

Expected behavior

image

Actual behavior

image

System information

No response

@huazhuwang huazhuwang added the bug Something isn't working label Jun 12, 2024
@huazhuwang
Copy link
Author

huazhuwang commented Jun 12, 2024

I suspect it has something to do with the follows function, code location:\univer-0.1.14\packages\sheets-ui\src\services\clipboard\usm-to-html
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority:P1 scope:facade
Projects
None yet
Development

No branches or pull requests

4 participants