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

支持移除侧边提示 #1451

Open
yuanjiexiong opened this issue Aug 6, 2023 · 3 comments
Open

支持移除侧边提示 #1451

yuanjiexiong opened this issue Aug 6, 2023 · 3 comments

Comments

@yuanjiexiong
Copy link

你在什么场景下需要该功能?

开发类似obsidian的白板功能

obsidian的:
image

我的:
image

左侧和右侧都留白了,在大量信息的情况下,会压缩可编辑范围,和增加阅读负担
image

描述最优的解决方案

增加隐藏的选项

需求类似#383
但是window.innerWidth似乎只能判断整个页面的大小,而不是vditor组件的大小
image

@Vanessa219
Copy link
Owner

没太理解,是要移除左侧的块标?

@yuanjiexiong
Copy link
Author

是的,希望增加这种选项,可以从option中切换

在一些编辑单个markdown的时候,我需要显示块标

在一个界面有多个markdown的时候,我往往需要隐藏块标

@Vanessa219
Copy link
Owner

用样式控制一下?
隐藏的话功能就用不了了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants