Hi guys.
I'm wondering if it is possible for me to display a certain set of styles based on which content type the user is editing? If you are editing a blog post I would like it to only show styles used in blog posts. But then if you go and edit a news article I want it to show only the styles that are used in the news articles. Is there maybe something I could add to the ckeditor.styles.js file?

Thanks!

Comments

mark.tl created an issue.

mark.tl’s picture

I've decided to just create a different text format for each version of CKEditor. I'm running into a different issue now. It only loads the styles from the first editor you select. If you create a new node and select editor A, then select editor B, it will still show the styles used in editor A. Is there a way to have it clear it's cache each time I select a different editor?