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] generateHTML() the return property is invalid #2627

Open
2 tasks done
huazhuwang opened this issue Jun 27, 2024 · 3 comments
Open
2 tasks done

[Bug] generateHTML() the return property is invalid #2627

huazhuwang opened this issue Jun 27, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@huazhuwang
Copy link

huazhuwang commented Jun 27, 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.16

Reproduction link

  1. A1 type a long sentence
  2. Apply the intercept style
  3. call the univerAPI.getActiveWorkBook().getActiveSheet().getRange(0,0,2,2).generateHTML()
  4. the return property "white-space: clip" is invalid.

001478f232023659411ba942f7de9177

Expected behavior

return the valid property

Actual behavior

white-space: clip is not a valid property
9442b6685a80ed4d1caf4987b93cced6

System information

No response

@huazhuwang huazhuwang added the bug Something isn't working label Jun 27, 2024
@huazhuwang huazhuwang changed the title [Bug] generateHtml() the return property is invalid [Bug] generateHTML() the return property is invalid Jun 27, 2024
@waterhydroxyl
Copy link

I believe it should have these two CSS style properties. white-space: nowrap; overflow-x: hidden;

@ybzky
Copy link
Contributor

ybzky commented Jun 28, 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. 我在 Github Issues 上搜索过类似的问题,但没有找到任何东西。

Affected packages and versions 受影响的软件包和版本

0.1.16

Reproduction link

  1. A1 type a long sentence A1输入一个长句子
  2. Apply the intercept style 应用拦截样式
  3. call the univerAPI.getActiveWorkBook().getActiveSheet().getRange(0,0,2,2).generateHTML()调用 univerAPI.getActiveWorkBook().getActiveSheet().getRange(0,0,2,2).generateHTML()
  4. the return property "white-space: clip" is invalid.返回属性“white-space:clip”无效。

001478f232023659411ba942f7de9177

Expected behavior

return the valid property 返回有效的属性

Actual behavior

white-space: clip is not a valid property空白:剪辑不是有效的属性 9442b6685a80ed4d1caf4987b93cced6

System information 系统信息

No response

we will fix it in the next version

@univer-bot
Copy link

univer-bot bot commented Jun 28, 2024

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

Before you submit this issue, have you checked the following

Before submitting this issue, did you check the following

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

Affected packages and versions Affected packages and versions

0.1.16

Reproduction link

  1. A1 type a long sentence A1 enter a long sentence
  2. Apply the intercept style Apply the intercept style
  3. call the univerAPI.getActiveWorkBook().getActiveSheet().getRange(0,0,2,2).generateHTML() .generateHTML()
  4. the return property "white-space: clip" is invalid.

![001478f232023659411ba942f7de9177](https://private-user-images.githubusercontent.com/51111411/343665796-c9f1aae4-8533-42f1-b3d8-3cc6c396264e.png?jwt=eyJhbGciO iJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1NjQ1NjcsIm5iZiI 6MTcxOTU2NDI2NywicGF0aCI6Ii81MTExMTQxMS8zNDM2NjU3OTYtYzlmMWFhZTQtODUzMy00MmYxLWIzZDgtM2NjNmMzOTYyNjRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1Ni ZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI4VDA4NDQyN1omWC1Bb XotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIzODQ0NjVkNzJlMWJmODdiMTM4MjEzZmVhZjAzNzc5MmQ0MzI2MzBhNGJmZmQ0MDIyNzE3Zjc5Nzc1MTZmYTUmWC1BbXotU2lnbmVkSG VhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wbomP5e2lOPHlvYM1r879nGyvvIe4-NNKkpkuEDIs3A)

Expected behavior

return the valid property Return the valid property

Actual behavior

white-space: clip is not a valid property white-space: clip is not a valid property! .png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..cyI6elUTYxWLqXbxqOTfqv9P97vGFVvFzqLBtq6wjcU)

System information System information

No response

we will fix it in the next version

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

No branches or pull requests

4 participants