Change WYSIWYG styles based on directory
Is it possible to change the styling in the WYSIWYG editor depending on the directory in a site? I know that I can change the styles at a site level, but is it possible to change the styling at a directory level inside a site?
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tim on Dec 16, 2015 @ 05:00 PM
Hi Joey,
There isn't any way to have the Styles drop down be dependent on particular directories within a Site. As you mentioned, the only way to supply Styles is going to be at the Site level (or at the Global level if you're looking to make it system-wide).
One thing you could potentially do - while not optimal - would be to have all of your Styles in one CSS file, but provide the classes for the specific directories in their own sections in the drop down. For example, you could have your CSS Classes field at the Site level contain:
This would create visual indicators in the drop down menu denoting the classes available for each directory in your Site. A couple of obvious downsides to this:<span class="----Athletics----">
tag in the source code)Last but not least, I just sent you an invite to our Idea Exchange. I would encourage you to vote/comment on this idea as it seems like it is somewhat related to what you are looking for in terms of functionality.
Let me know if you need anything else.
Thanks!
Tim closed this discussion on Jan 07, 2016 @ 04:32 PM.