Explorar o código

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

Piotrek Koszuliński %!s(int64=7) %!d(string=hai) anos
pai
achega
41337235fa
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages/ckeditor5-enter/src/entercommand.js

+ 2 - 1
packages/ckeditor5-enter/src/entercommand.js

@@ -33,7 +33,8 @@ export default class EnterCommand extends Command {
 //
 // @param {module:engine/model~Model} model
 // @param {module:engine/model/writer~Writer} writer
-// @param {module:engine/model/selection~Selection} selection Selection on which the action should be performed.
+// @param {module:engine/model/selection~Selection|module:engine/model/documentselection~DocumentSelection} selection
+// Selection on which the action should be performed.
 // @param {module:engine/model/schema~Schema} schema
 function enterBlock( model, writer, selection, schema ) {
 	const isSelectionEmpty = selection.isCollapsed;