We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d797b1 commit 606719cCopy full SHA for 606719c
src/editor/editor.ts
@@ -190,6 +190,15 @@ export class Editor {
190
}
191
192
public isModified(): boolean {
193
+ /*
194
+ // This code is helpful for debugging issues where the editor says
195
+ // 'Blocks have been modified!'.
196
+ if (this.getModuleContent() !== this.moduleContent) {
197
+ console.log('isModified will return true');
198
+ console.log('this.getModuleContent() is ' + this.getModuleContent());
199
+ console.log('this.moduleContent is ' + this.moduleContent);
200
+ }
201
+ */
202
return this.getModuleContent() !== this.moduleContent;
203
204
0 commit comments