Report an issue
Class

CKEDITOR.skin

classsingleton

Manages the loading of skin parts among all editor instances.

Filtering

Properties

  • icons : Object

    The list of registered icons. To add new icons to this list, use addIcon.

    Defaults to {}

  • name : String

    The name of the skin that is currently used.

  • ua : Object

    The list of file names matching the browser user agent string from CKEDITOR.env. This is used to load the skin part file in addition to the "main" skin file for a particular browser.

    Note: For each of the defined skin parts the corresponding CSS file with the same name as the user agent must exist inside the skin directory.type?

  • ua_dialog : String

    Similar to ua_editor but used for dialog stylesheets.

    CKEDITOR.skin.ua_dialog = 'ie,iequirks,ie8,gecko';
    
  • ua_editor : String

    To help implement browser-specific "hacks" to the skin files and make it easy to maintain, it is possible to have dedicated files for such browsers. The browser files must be named after the main file names, appended by an underscore and the browser name (e.g. editor_ie.css, editor_ie8.css). The accepted browser names must match the CKEDITOR.env properties. You can find more information about browser "hacks" in the Dedicated Browser Hacks guide.

    CKEDITOR.skin.ua_editor = 'ie,iequirks,ie8,gecko';
    

Methods