dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs

Home Page:https://univer.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] univerAPI.getActiveWorkBook().getActiveSheet().getRange(0,0,2,2).generateHTML() structure is incorrect.

huazhuwang opened this issue · comments

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

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