質問

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.

役に立ちましたか?

解決

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?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top