Explorar o código

Tests: Refactored the InsertParagraphCommand#execute for complete test coverage.

Aleksander Nowodzinski %!s(int64=5) %!d(string=hai) anos
pai
achega
98d6e4fb14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-paragraph/src/insertparagraphcommand.js

+ 1 - 1
packages/ckeditor5-paragraph/src/insertparagraphcommand.js

@@ -34,7 +34,7 @@ export default class InsertParagraphCommand extends Command {
 	 * the new paragraph will be inserted.
 	 * @fires execute
 	 */
-	execute( options = {} ) {
+	execute( options ) {
 		const editor = this.editor;
 		const model = this.editor.model;
 		let modelPosition;