浏览代码

Update src/restrictededitingmodeediting.js

Co-Authored-By: Piotrek Koszuliński <pkoszulinski@gmail.com>
Maciej 5 年之前
父节点
当前提交
2328f7a488
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      packages/ckeditor5-restricted-editing/src/restrictededitingmodeediting.js

+ 2 - 1
packages/ckeditor5-restricted-editing/src/restrictededitingmodeediting.js

@@ -96,7 +96,8 @@ export default class RestrictedEditingModeEditing extends Plugin {
 	}
 
 	/**
-	 * Enables command with given `commandName` in restricted editing mode.
+	 * Makes the given command always enabled in the restricted editing mode (regardless
+	 * of selection location).
 	 *
 	 * @param {String} commandName Name of the command to enable.
 	 */