8
0
Эх сурвалжийг харах

Reset buffer when the limit is reached.

Piotr Jasiun 9 жил өмнө
parent
commit
1c06a2c087

+ 1 - 0
packages/ckeditor5-typing/src/changebuffer.js

@@ -108,6 +108,7 @@ export default class ChangeBuffer {
 
 		if ( this.size >= this.limit ) {
 			this._batch = null;
+			this.size = 0;
 		}
 	}