I'd like to associate a css style sheet with the editor so that the main format styles look similar to those on my site.
Following the documentation I'm trying to do this using the Stylesheet Parser Plugin.
(http://docs.cksource.com/CKEditor_3.x/D ... ide/Styles)
This tells me to add
config.extraPlugins = 'stylesheetparser';
config.contentsCss = 'my-style-sheet.css';
config.stylesSet = [];
to my config.js file.
Problem is it isn't working.
Any suggestions welcome.
Tue, 10/11/2011 - 14:23
#1
Re: Stylesheet Parser Plugin set up problem
I tried using this in config.js
config.extraPlugins = 'stylesheetparser';
config.contentsCss = 'blah/css/test.css';
config.stylesSet = [];
or setting it in ASP.Net using
CKEditorConfig.GlobalConfig.extraPlugins = "stylesheetparser"
CKEditor.ContentsCss = "blah/css/test.css"
CKEditor.StylesSet = ""
or setting them in the page control properties in visiual studio
And the Style list is just empty
I have verified that ContentsCss is valid and is applied to the editor window.
I have also tried changing the order and not including the StylesSet line.
Has anyone made this work?
Thanks
Re: Stylesheet Parser Plugin set up problem
I have only empty styles
all Best