CKEditorDefaultSettings.xml and sStyles

Feb 6, 2012 at 1:28 PM

First of all thanks for keep on putting such consistent energy in this project! Very much appreciated!

 

I'm trying to configure different styles in the Styles Dropdown.

I'm using v1.13. I've an settings file that is working \Portals\0\_CKEditorConfig\CKEditorDefaultSettings.xml.  That mean changing the skin in the xml changes it also on the portal.

Then I tried changing this setting

<sStyles>default.js</sStyles>

This is a copy of the file found here wwwroot\Providers\HtmlEditorProviders\CKEditor\plugins\styles\styles.
I've copied it to \Portals\0\_CKEditorConfig\ for testing purposes.
The result however is an empty styles dropdown.

I seached for documentation on the CKEditorDefaultSettings.xml fields and how to use them, but without success.

Pleas advise.

Coordinator
Feb 7, 2012 at 11:03 AM

I created a documentation Page on How to add Custom Styles to the Styles DropDown

http://dnnckeditor.codeplex.com/wikipage?title=Add%20Custom%20Styles

If you want more info about the Settings.xml File this is an Serialized Version of the Settings Inside the Editor Options. You can Simply Export your settings from there to create the xml File.