Question

I know I can link a style sheet to TinyMCE and this will be used when I am editing. It also seems to apply the styling to the Heading options available in the format dropdown list which is great. I also know I can add custom formats menu using custom_formats (here) but is there a way for the Formats to be populated using my CSS automatically? I have various classes in my CSS for the P tag and would like to allow my users to utilise them.

Était-ce utile?

La solution

No, this is not possible (at least not out of the box). How could a piece of code guess what style or class to use from the pure CSS?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top