CKEditorControl StylesSet Property Kentico 8.1 API Reference
The "styles definition set" to use in the editor. They will be used in the styles combo and the style selector of the div container. The styles may be defined in the page containing the editor, or can be loaded on demand from an external file. In the second case, if this setting contains only a name, the styles.js file will be loaded from the CKEditor root folder (what ensures backward compatibility with CKEditor 4.0). Otherwise, this setting has the name:url syntax, making it possible to set the URL from which loading the styles file. Note that the name has to be equal to the name used in CKEDITOR.stylesSet.add while registering styles set. Default value: 'default' Examples: // Load from the styles' styles folder (mystyles.js file). StylesSet = "mystyles"; // Load from a relative URL. StylesSet = "mystyles:/editorstyles/styles.js"; // Load from a full URL. StylesSet = "mystyles:http://www.example.com/editorstyles/styles.js"; // Load from a list of definitions. StylesSet = [ { name : 'Strong Emphasis', element : 'strong' }, { name : 'Emphasis', element : 'em' }, ... ]; Set to null for default value

Namespace: CMS.CKEditor
Assembly: CMS.CKEditor (in CMS.CKEditor.dll) Version: 8.0.0.0 (8.1.5347.20411)

Return Value

Type: OnlineString
null if the default value is set
See Also