07-21-2023, 04:37 PM
I have been searching for a discussion about if it's possible to mimic the html tag textarea's resizing when using **Monaco Editor**'s field all over the Internet but I couldn't find one answering my question.
I'm using the **monaco-editor** npm package in a **React** application. Do you have any idea if this is easy to implement?
Thank you in advance!
-------
**SOLUTION**<br>
With pure css I selected the target html element and just added these properties:
div {
resize: vertical;
overflow: auto;
}
I'm using the **monaco-editor** npm package in a **React** application. Do you have any idea if this is easy to implement?
Thank you in advance!
-------
**SOLUTION**<br>
With pure css I selected the target html element and just added these properties:
div {
resize: vertical;
overflow: auto;
}