Browse Source

Fixed one missing update.

Maksymilian Barnaś 9 năm trước cách đây
mục cha
commit
9b42a891ee
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();