Browse Source

Update jsdoc

pull/4223/head
Artur Arseniev 5 years ago
parent
commit
fd53793986
  1. 1
      src/editor/index.js
  2. 2
      src/editor/model/Editor.js

1
src/editor/index.js

@ -431,6 +431,7 @@ export default (config = {}, opts = {}) => {
/**
* Store data to the current storage.
* This will reset the counter of changes (`editor.getDirtyCount()`).
* @param {Object} [options] Storage options.
* @returns {Object} Stored data.
* @example

2
src/editor/model/Editor.js

@ -629,7 +629,7 @@ export default class EditorModel extends Model {
*/
async load(options) {
const result = await this.get('StorageManager').load(options);
this.skip(() => this.loadData(result));
this.loadData(result);
return result;
}

Loading…
Cancel
Save