JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.2.1
[ckeditor.git] / _source / core / commanddefinition.js
index bd8989c..c451274 100644 (file)
@@ -84,3 +84,19 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
  *     editorFocus : false    // The command doesn't require focusing the editing document.\r
  * });\r
  */\r
+\r
+\r
+/**\r
+ * Whether the command state should be set to {@link CKEDITOR.TRISTATE_DISABLED} on startup.\r
+ * @name  CKEDITOR.commandDefinition.startDisabled\r
+ * @type {Boolean}\r
+ * @default false\r
+ * @example\r
+ * editorInstance.addCommand( 'unlink',\r
+ * {\r
+ *     exec : function( editor )\r
+ *     {\r
+ *     },\r
+ *     startDisabled : true    // Command is unavailable until selection is inside a link.\r
+ * });\r
+ */\r