JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.1
[ckeditor.git] / _source / plugins / stylesheetparser / plugin.js
index 92624d9..23ffc85 100644 (file)
@@ -119,25 +119,30 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 \r
 \r
 /**\r
- * Regular Expression to check if a css rule must be skipped by\r
- * the stylesheet parser plugin (so it's ignored and not available)\r
+ * A regular expression that defines whether a CSS rule will be\r
+ * skipped by the Stylesheet Parser plugin. A CSS rule matching\r
+ * the regular expression will be ignored and will not be available\r
+ * in the Styles drop-down list.\r
  * @name CKEDITOR.config.stylesheetParser_skipSelectors\r
  * @type RegExp\r
  * @default /(^body\.|^\.)/i\r
  * @since 3.6\r
+ * @see CKEDITOR.config.stylesheetParser_validSelectors\r
  * @example\r
- * // Ignore rules for body, caption, only a class or classes starting with "high".\r
+ * // Ignore rules for body and caption elements, classes starting with "high", and any class defined for no specific element.\r
  * config.stylesheetParser_skipSelectors = /(^body\.|^caption\.|\.high|^\.)/i;\r
  */\r
 \r
  /**\r
- * Regular Expression to check if a css rule must be allowed by\r
- * the stylesheet parser plugin\r
+ * A regular expression that defines which CSS rules will be used\r
+ * by the Stylesheet Parser plugin. A CSS rule matching the regular\r
+ * expression will be available in the Styles drop-down list.\r
  * @name CKEDITOR.config.stylesheetParser_validSelectors\r
  * @type RegExp\r
  * @default /\w+\.\w+/\r
  * @since 3.6\r
+ * @see CKEDITOR.config.stylesheetParser_skipSelectors\r
  * @example\r
- * // Add only rules for p and span elements.\r
+ * // Only add rules for p and span elements.\r
  * config.stylesheetParser_validSelectors = /\^(p|span)\.\w+/;\r
  */\r