@dualbox/editor 1.0.91 → 1.0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/html/editor.html CHANGED
@@ -159,6 +159,9 @@
159
159
  }
160
160
  }
161
161
  });
162
+ window.editor.onChange((diff, hash) => {
163
+ console.log("saving (new hash " + hash + ")");
164
+ });
162
165
 
163
166
  // For debug purpose
164
167
  window.getApp = function() {