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

[Feature Request] 配合artifacts进行html折叠 #5216

Closed
QAbot-zh opened this issue Aug 7, 2024 · 1 comment
Closed

[Feature Request] 配合artifacts进行html折叠 #5216

QAbot-zh opened this issue Aug 7, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@QAbot-zh
Copy link

QAbot-zh commented Aug 7, 2024

🥰 需求描述

现在有artifacts预览了,是否考虑对大段的html代码进行折叠,以优化显示效果,比如 poe 默认只显示一部分的html代码

image

🧐 解决方案

应该可以在css样式里添加折叠和隐藏溢出代码的行为

📝 补充信息

No response

@QAbot-zh QAbot-zh added the enhancement New feature or request label Aug 7, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] Use artifacts to perform html folding

🥰 Description of requirements

Now that artifacts are previewed, should you consider folding large sections of html code to optimize the display effect? ​​For example, poe only displays a part of the html code by default.

image

🧐 Solution

It should be possible to add folding and hiding overflow code behaviors in css styles

📝 Supplementary information

No response

@Dogtiti Dogtiti added the good first issue Good for newcomers label Aug 7, 2024
@mayfwl mayfwl mentioned this issue Aug 8, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants