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

代码片段设置界面用户体验优化 #7647

Closed
3 tasks done
InEase opened this issue Mar 13, 2023 · 3 comments
Closed
3 tasks done

代码片段设置界面用户体验优化 #7647

InEase opened this issue Mar 13, 2023 · 3 comments
Assignees
Milestone

Comments

@InEase
Copy link
Contributor

InEase commented Mar 13, 2023

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?

  • 我能够在默认主题下重现该问题
    I was able to reproduce the issue with the default theme

该问题是否可能是由于扩展功能导致? Could the issue be due to extensions?

  • 我已经排除了扩展导致问题的可能性
    I've ruled out the possibility that the extension is causing the problem.

描述问题 Describe the problem

在代码片段的设置界面中的textarea在拖拽改变大小的时候,容易左右不对齐,同时也因为自带的语法检查,文本框里满地飘红,影响用户体验。

image

期待的结果 Expected result

这个问题的解决比较简单(我就直接提PR啦),通过设置

style="resize: vertical" spellcheck="false"

就可以这个文本框只能竖向拓展,同时禁用语法检查,算是用户体验方面的一个小优化叭

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 2.7.9
- Operating System: Windows 10
- Browser (if used):

日志文件 Log file

更多信息 More information

No response

@88250
Copy link
Member

88250 commented Mar 13, 2023

欢迎 PR

InEase added a commit to InEase/siyuan that referenced this issue Mar 13, 2023
@InEase InEase mentioned this issue Mar 13, 2023
4 tasks
@88250 88250 added this to the 2.7.10 milestone Mar 13, 2023
@InEase
Copy link
Contributor Author

InEase commented Mar 13, 2023

哇哇哇D大好快的回复!第一次提PR,很激动 o(////▽////)q

@88250
Copy link
Member

88250 commented Mar 13, 2023

感谢贡献,等 @Vanessa219 合并。

Vanessa219 pushed a commit that referenced this issue Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants