소스 검색

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.
 	 */