Topic: WYSIWYG Editor Content height

efilippi priority asked 3 years 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 3 years ago


You can set height or max-height and overflow-y: auto to .wysiwyg-content. Look at this example:

Keep coding,

efilippi priority commented 3 years 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 3 years ago

WYSIWYG is set to min-height: 450px;. Check the snippet again. I made the appropriate changes.

efilippi priority answered 3 years ago

Great !

It's perfect, thank you !

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: 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