瀏覽代碼

Docs: Add information about `insertContent` event params.

Maciej Gołaszewski 7 年之前
父節點
當前提交
0dd9de31f2
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/ckeditor5-engine/src/model/model.js

+ 3 - 0
packages/ckeditor5-engine/src/model/model.js

@@ -562,6 +562,9 @@ export default class Model {
 	 * The {@link #insertContent default action of that method} is implemented as a
 	 * listener to this event so it can be fully customized by the features.
 	 *
+	 * **Note** The `selectable` parameter for the {@link #insertContent} is optional. When `undefined` value is passed the method uses
+	 * `model.document.selection`.
+	 *
 	 * @event insertContent
 	 * @param {Array} args The arguments passed to the original method.
 	 */