瀏覽代碼

Fixed: Added RenameOperation to OperationFactory.

Szymon Cofalik 9 年之前
父節點
當前提交
b7b789ae26
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/ckeditor5-engine/src/model/operation/operationfactory.js

+ 2 - 0
packages/ckeditor5-engine/src/model/operation/operationfactory.js

@@ -10,6 +10,7 @@ import NoOperation from '../operation/nooperation.js';
 import Operation from '../operation/operation.js';
 import ReinsertOperation from '../operation/reinsertoperation.js';
 import RemoveOperation from '../operation/removeoperation.js';
+import RenameOperation from '../operation/renameoperation.js';
 import RootAttributeOperation from '../operation/rootattributeoperation.js';
 
 const operations = {};
@@ -20,6 +21,7 @@ operations[ NoOperation.className ] = NoOperation;
 operations[ Operation.className ] = Operation;
 operations[ ReinsertOperation.className ] = ReinsertOperation;
 operations[ RemoveOperation.className ] = RemoveOperation;
+operations[ RenameOperation.className ] = RenameOperation;
 operations[ RootAttributeOperation.className ] = RootAttributeOperation;
 
 /**