Click or drag to resize
CKEditorControlStylesSet Property
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.Web.UI
Assembly: CMS.CKEditor.Web.UI (in CMS.CKEditor.Web.UI.dll) Version: 10.0.0
Syntax
C#
public string StylesSet { get; set; }

Return Value

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