瀏覽代碼

Docs: Mentioned docsel when it should be. [skip ci]

Piotrek Koszuliński 7 年之前
父節點
當前提交
2afc5d0dc3
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      packages/ckeditor5-paragraph/src/paragraphcommand.js

+ 2 - 1
packages/ckeditor5-paragraph/src/paragraphcommand.js

@@ -42,7 +42,8 @@ export default class ParagraphCommand extends Command {
 	 *
 	 * @fires execute
 	 * @param {Object} [options] Options for the executed command.
-	 * @param {module:engine/model/selection~Selection} [options.selection] The selection that the command should be applied to.
+	 * @param {module:engine/model/selection~Selection|module:engine/model/documentselection~DocumentSelection} [options.selection]
+	 * The selection that the command should be applied to.
 	 * By default, if not provided, the command is applied to the {@link module:engine/model/document~Document#selection}.
 	 */
 	execute( options = {} ) {