silverstripe / silverstripe-framework

Silverstripe Framework, the MVC framework that powers Silverstripe CMS
https://www.silverstripe.org
BSD 3-Clause "New" or "Revised" License
719 stars 820 forks source link

TinyMCE Styles-Dropdown shows incorrect empty-value #11063

Closed lerni closed 7 months ago

lerni commented 7 months ago

Affected Version

silverstripe/framework 5.1.4

Description

The TinyMCE Dropdown for "styles" (formerly styleselect) displays an incorrect empty value. Previously, it was "Formats", with v5 it shows "Paragraph". This behavior is similarly incorrect across different languages.

v4: Tiny-ss4-styleselect

v5: Tiny-ss5-styles

Steps to Reproduce

Add blocks & styles buttons to TinyMCE. Both display "Paragraph" as the empty value, but only blocks should.

GuySartorelli commented 7 months ago

Can you please validate whether this is a bug in Silverstripe CMS, or whether this is a bug/change in TinyMCE itself? I suspect it is the latter.

kinglozzer commented 7 months ago

It is a change in TinyMCE, I bumped a closed issue about it but it might be worth opening a new one