tinymce / tinymce-vue

Official TinyMCE Vue component
MIT License
2.08k stars 208 forks source link

Setting the initial height of TinyMCE does not work. #356

Closed randolf-alegre closed 4 months ago

randolf-alegre commented 1 year ago

What is the current behavior? When setting the initial height of the TinyMCE editor in vuejs 2 it does not apply because of the .tox-tinymce which has a value of height: 500px !important;.

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar. .tox-tinymce { border-radius: 0.675rem !important; height: 500px !important; }

What is the expected behavior? The expected behavior based on the docs is it should change and follow the value that is set in the init attribute.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-vue?

Version 3 and up using tinyMCE-vue Browser: Chrome

exalate-issue-sync[bot] commented 1 year ago

Ref: INT-3088

fyzhu commented 1 year ago

put height in init property

image
lorenzo-pomili commented 1 year ago

Using the height in init as @fyzhu suggested I got the correct behavior too, if that does not fix your problem could you please provide us an example via codepen or similar that has the problem?

tiny-stale-bot commented 4 months ago

This issue is stale because it has been open 30 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 7 days.

tiny-stale-bot commented 4 months ago

This issue was closed because it has been stalled for 7 days with no activity.