浏览代码

Tests: Removed plugins from operation transformation tests client.

Szymon Cofalik 7 年之前
父节点
当前提交
7923962fcf
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      packages/ckeditor5-engine/tests/model/operation/transform/utils.js

+ 4 - 1
packages/ckeditor5-engine/tests/model/operation/transform/utils.js

@@ -24,7 +24,10 @@ export class Client {
 
 	init() {
 		return ModelTestEditor.create( {
-			plugins: [ Typing, Paragraph, BoldEditing, ListEditing, UndoEditing, BlockQuoteEditing ]
+			// Typing is needed for delete command.
+			// UndoEditing is needed for undo command.
+			// Block plugins are needed for proper data serializing.
+			plugins: [ Typing, Paragraph, ListEditing, UndoEditing, BlockQuoteEditing ]
 		} ).then( editor => {
 			this.editor = editor;
 			this.document = editor.model.document;