webix-hub/components

subtracting a hardcoded barHeight does not work when TinyMCE menubar is hidden

Doogiemuc opened this issue · 1 comments

The height of tinyMCE depends on wether the tinyMCE menubar is shown. This has to be taken into account, when setting the inner size of the editor in _set_inner_size() method.

this._3rd_editor.theme.resizeTo(this.$width, this.$height - this.config.barHeight);

barHeight can be configured in the widget's settings

webix.ui({ view:"tinymce-editor", barHeight: 55 })

This value can be adjusted according to your needs.
Unfortunately, the editor doesn't provide any API to set the full height.