Auto grow the editor #5568
Unanswered
shashiOrdant
asked this question in
Q&A
Replies: 1 comment
-
You can use combination of #myEditor {
max-height: 5em;
transition: max-height 0.5s
}
#myEditor.ace_focus {
max-height: 100em;
} See the demo here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have been using "ace" 1..3.0, the issue I have is code in my editor is too long wich result into scroll.
What I am looking for is, I want the editor to have min height but on focus or click any such event the height should grow to content height.
Beta Was this translation helpful? Give feedback.
All reactions