8
0
فهرست منبع

Improved comment.

Maciej Bukowski 7 سال پیش
والد
کامیت
fe166e79d9
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      packages/ckeditor5-autosave/src/autosave.js

+ 3 - 1
packages/ckeditor5-autosave/src/autosave.js

@@ -164,7 +164,9 @@ export default class Autosave extends Plugin {
 				this._debouncedSave();
 			}
 
-			// Do nothing if the plugin is in `external-saving` state.
+			// If the plugin is in `saving` state, it will change its state later basing on the `document.version`.
+			// If the `document.version` will be higher than stored `#_lastDocumentVersion`, then it means, that some `change:data`
+			// event has fired in the meantime.
 		} );
 
 		// Flush on the editor's destroy listener with the highest priority to ensure that