Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change 'Format' label text for styles to: 'Styles' #9498

Open
richardczeiger opened this issue Mar 20, 2024 · 3 comments
Open

Change 'Format' label text for styles to: 'Styles' #9498

richardczeiger opened this issue Mar 20, 2024 · 3 comments

Comments

@richardczeiger
Copy link

richardczeiger commented Mar 20, 2024

Currently you add your custom style_formats to the toolbar using styles. However, the output shows that the dropdown has a label 'Formats'. This is confusing if you also have the default 'Format' menu item. Many people use the Format menu for inline semantic elements (bold, italic, super, subscript, etc). Whereas styles are used for custom CSS styles.

Request: Please change the label for the styles dropdown to show as: 'Styles'.
See attached example.
tinymce-styles

Alternatively, provide a method for allowing a custom label.
Previously, these issues were touched on in this ticket: #9186
If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@Afraithe
Copy link
Member

Not so sure about that, formats can contain more than just inline styles.

@richardczeiger
Copy link
Author

Not so sure about that, formats can contain more than just inline styles.

I see something like 'Styles' as being specific to the brand/site I'm using TinyMCE on.
The Format dropdown already has inline styles as well as other items (as you point out) but all of these are generic formatting options. For me Styles are things like custom fonts/colours for bits of text done to match our branding (like 'Highlighted text' which shows white text with our brand's blood red background; or 'Brand Blue' which turns the text into the correct colour for the 'text version' of our logo).

Also, I'm putting myself in my users boots: if they've worked with Word or Google Docs, then Format contains very particular things.
Screenshot 2024-04-22 180647

@TheSpyder
Copy link
Member

That format menu contains paragraph styles, just like this dropdown does (by default). The text formatting is under a text submenu - as is ours, although we call it inline 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants