Jelajahi Sumber

Fixed one missing update.

Maksymilian Barnaś 9 tahun lalu
induk
melakukan
9b42a891ee
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();