Topic: WYSIWYG Editor Content height
efilippi priority asked 1 year ago
Currently, WYSIWYG editor seems to have a fixed height, but it's not very usefull in modals or in small pages.
Is it possible to set the WYSIWYG editor height just as we do with textearea inputs (with a row=4 attribute), and then use the mouse/scroll bar to adapt size ?
Grzegorz Bujański staff answered 1 year ago
You can set
overflow-y: auto to
.wysiwyg-content. Look at this example: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/3003691#css-tab-view
efilippi priority commented 1 year ago
Thank you for youe answer,
but changing max-height: 200px; instead of 600 in you snippet doesn't change the editor height ...
What did I miss ?
Grzegorz Bujański staff commented 1 year ago
WYSIWYG is set to
min-height: 450px;. Check the snippet again. I made the appropriate changes.
efilippi priority answered 1 year ago
It's perfect, thank you !
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: computer / smartphone
- Browser: firefox / chrome
- OS: debian
- Provided sample code: No
- Provided link: No