pimcore / admin-ui-classic-bundle

Other
11 stars 99 forks source link

TinyMCE 6.8 sometimes hides the text behind the toolbars #657

Open LosHawlos opened 3 months ago

LosHawlos commented 3 months ago

The TinyMCE version 6.8.3 has a bug, that lets multiple toolbars sometimes wrap around, which then hides the text of the wysiwyg editable behind the extra line of toolbars.

The editable containing some lorem ipsum prior to clicking into the text:

pimcore_TinyMCE_bug_1

Opened TinyMCE after clicking the text to edit the content:

pimcore_TinyMCE_bug_2

As you can see the first line of text is covered by the TinyMCE toolbar.

We have this problem on 3 different customer websites on Pimcore 11.

This can be reproduced in a simple fiddle for TinyMCE and is not a bug in Pimcore.

I submitted a bug report for TinyMCE: https://github.com/tinymce/tinymce/issues/9825

From testing the fiddle I cannot reproduce that in TinyMCE 7.

Are there any plans of updating TinyMCE to Version 7 as I'm not sure that this will be fixed in TinyMCE 6?

fashxp commented 3 months ago

there are no plans to update to TinyMCE 7, as they have changed the license... currently, we are evaluating alternatives.

chrisjung-dev commented 2 months ago

Have you evaluated tiptap?

hadl commented 2 weeks ago

Related to https://github.com/pimcore/admin-ui-classic-bundle/issues/703

Setting ui_mode: 'split' will fix this issue, too.

Test: https://fiddle.tiny.cloud/ObxHRKXjpj/2