8
0
Просмотр исходного кода

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

Aleksander Nowodzinski 5 лет назад
Родитель
Сommit
98d6e4fb14
1 измененных файлов с 1 добавлено и 1 удалено
  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;