Jump to content

TinyMCE - Custom Style


Kurbel
 Share

Recommended Posts

Hello,

I'm trying to get a custom style to show up in my TinyMCE. In the settings for the field I've defined a custom editor.css, that includes a new class, like so:

.test {
	display: inline-block;
	width: auto;
	background-color: blue;
}

and the "Additional TinyMCE settings" for the field have a theme_advanced_styles:

theme_advanced_styles:test=test

However the style doesn't show up in the dropdown for the available styles. Is there any additional steps required? Never had to change the TinyMCE configs so far, so I'm a bit at a loss what's missing.

Cheers!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...