tinymce / tinymce-docs

TinyMCE Documentation
https://www.tiny.cloud/docs/
Other
86 stars 221 forks source link

editor height not defaulting to the height of the replaced element #1826

Open jcobban opened 3 years ago

jcobban commented 3 years ago

I want to control the height of individual editors but TinyMCE seems to ignore all html settings. This seems to contradict the statement in the description of the global height parameter: The default value of this option is set to the height of the HTML element TinyMCE replaces. For example, the pixel height of a textarea." I cannot find any documentation of this.

affected page: https://www.tiny.cloud/docs/general-configuration-guide/customize-ui/

tylerkelly13 commented 3 years ago

Hi @jcobban,

This looks to be a bug in TinyMCE.

I'll transfer this issue to the tinymce/tinymce repository so the developers can have a look into this issue.

Tyler

metricjs commented 3 years ago

Hi @jcobban, thanks for reporting this. We've investigated and there are some details regarding default height in TinyMCE 5.x that aren't currently documented. We will schedule work to fix this in the docs. For your own reference:

I'm going to transfer this back to the docs repo so the docs can be clarified.

We will also discuss whether we should change the 200px minimum. To help us with that, could you please tell us what heights you are using in your application?

jordanade commented 8 months ago

I would like a 36px tall textarea editor with no menu or toolbars other than the quickbars_selection_toolbar.