Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding your own styles to the WYSIWYG editor
06-23-2013, 09:38 PM
Post: #1
Adding your own styles to the WYSIWYG editor
One of the first things you probably when setting up a new site with ClearFusionCMS is to create a stylesheet. Let's assume we have created a stylesheet at /style.css.
To make sure all the same styles are available in the WYSIWYG editor when creating a new document, head to Dashboard > Settings > clearFusionCMS : Content Editing and add /style.css in the Content CCS File field.
That should load all your styles in the toolbar of the WYSIWYG editor when creating a new document.

Tip: When adding or updating a new style to your stylesheet, you will need to reload your stylesheet to add the new styles to the WYSIWYG editor.
If you have any trouble with that because the stylesheet is cached by your browser and CTRL F5 does not work, head to Dashboard > Settings > clearFusionCMS : Content Editing and add ?d=123456789 or some other silly number behind /style.css like this /style.css?d=123456789
That will trick your browser into believing it is not the same file and will force a refresh.
You might also have to reload the page where you are creating or updating a document.
Find all posts by this user
Quote this message in a reply
06-23-2013, 09:49 PM
Post: #2
RE: Adding your own styles to the WYSIWYG editor
Nice tip on adding a parameter to stop the browser caching the file

clearFusionCMS Lead Developer
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)