瀏覽代碼

Fixed one missing update.

Maksymilian Barnaś 9 年之前
父節點
當前提交
9b42a891ee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-autoformat/src/autoformatengine.js

+ 1 - 1
packages/ckeditor5-autoformat/src/autoformatengine.js

@@ -81,7 +81,7 @@ export default class AutoformatEngine {
 				return;
 			}
 
-			editor.document.enqueueChanges( function() {
+			editor.document.enqueueChanges( () => {
 				// Create new batch to separate typing batch from the Autoformat changes.
 				const batch = editor.document.batch();