Explorar o código

Fixed one missing update.

Maksymilian Barnaś %!s(int64=9) %!d(string=hai) anos
pai
achega
9b42a891ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();