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

Ability to have the height of the editor be the current height of the content in textarea #480

Open
The-Code-Monkey opened this issue Feb 3, 2023 · 2 comments

Comments

@The-Code-Monkey
Copy link

Is there a way to make the editor to follow the height of the content e.g. as i type a new line the editor should grow rather than scroll.

Like the github one does.

@jaywcjlove
Copy link
Member

@The-Code-Monkey https://codesandbox.io/embed/markdown-editor-for-react-https-github-com-uiwjs-react-md-editor-issues-480-0ttkoe?fontsize=14&hidenavigation=1&theme=dark

<MDEditor
+  height="100%"
+  visibleDragbar={false}
/>

@Thenlie
Copy link

Thenlie commented Feb 25, 2023

Is it possible to have this set while still having the dragbar enabled? Based on this comment, I assume not, but it would be really nice to be able to.

image

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

3 participants