JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.0.1
[ckeditor.git] / _source / core / commanddefinition.js
index b178498..58fccf4 100644 (file)
@@ -70,3 +70,17 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
  *     async : true    // The command need some time to complete after exec function returns.\r
  * });\r
  */\r
+\r
+/**\r
+ * Whether the command should give focus to the editor before execution.\r
+ * @name  CKEDITOR.commandDefinition.editorFocus\r
+ * @type {Boolean}\r
+ * @example\r
+ * editorInstance.addCommand( 'maximize',\r
+ * {\r
+ *     exec : function( editor )\r
+ *     {\r
+ *     },\r
+ *     editorFocus : false    // The command doesn't require focusing the editing document.\r
+ * });\r
+ */\r