Ver código fonte

Fixed one missing update.

Maksymilian Barnaś 9 anos atrás
pai
commit
9b42a891ee

+ 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();