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

如何限制编辑器的宽度 #134

Closed
lzjun567 opened this issue Apr 7, 2021 · 2 comments
Closed

如何限制编辑器的宽度 #134

lzjun567 opened this issue Apr 7, 2021 · 2 comments

Comments

@lzjun567
Copy link

lzjun567 commented Apr 7, 2021

默认情况下,编辑器宽度是屏幕的宽度,如何设置宽度使其自动换行,而不是出现滚动条

image

@lzjun567
Copy link
Author

lzjun567 commented Apr 7, 2021

找到了配置的参数,将lineWrapping设置为True即可

MDEDITOR_CONFIGS = {"default":  "lineWrapping": True}}

@pylixm pylixm pinned this issue Jan 18, 2022
@pylixm
Copy link
Owner

pylixm commented Jan 18, 2022

感谢反馈

@pylixm pylixm closed this as completed Jan 18, 2022
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