I'm using te Stylesheet Parser Plugin to load my Stylesheet in the CKeditor. But when I look at the dropdown from styles, this one is empty. How can I add a few classes from my stylesheet to that list, I tried a lot but everytime my style list is empty
Tue, 06/05/2012 - 10:27
#1
Re: problem with style list
Have you checked out the Styles section in the Howto guides?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: problem with style list
Re: problem with style list
Ok, I see you use the Stylesheet parser (just noticed you mentioning it). Have you checked out this sample page: http://nightly.ckeditor.com/7491/_sampl ... arser.html
You can also put the following code in config.js (as explained in this Howto page) and it changes the styles to the ones defined:
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: problem with style list
this I have in my aspx page:
Re: problem with style list
The first code I gave you doesn't require any changes to the editor instance. Simply put it in your config.js file and modify a few things to quickly change some styles. If you want to use use stylesheetparser you should go over the user guide. Also search our forums (post 1 - post 2) to see if you're not doing something wrong.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: problem with style list