8
0
Oskar Wróbel 6 gadi atpakaļ
vecāks
revīzija
c7e167886d
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      packages/ckeditor5-engine/src/model/document.js

+ 4 - 0
packages/ckeditor5-engine/src/model/document.js

@@ -396,6 +396,10 @@ export default class Document {
 			for ( const callback of this._postFixers ) {
 				// Ensure selection attributes are up to date before each post-fixer.
 				// https://github.com/ckeditor/ckeditor5-engine/issues/1673.
+				//
+				// It might be good to refresh the selection after each operation but at the moment it leads
+				// to losing attributes for composition or and spell checking
+				// https://github.com/ckeditor/ckeditor5-typing/issues/188
 				this.selection.refresh();
 
 				wasFixed = callback( writer );