Full text search improvements
This commit is contained in:
+2
-1
@@ -278,7 +278,8 @@ export class Editor {
|
||||
this.saveTimeout = setTimeout(
|
||||
() => {
|
||||
if (this.currentPage) {
|
||||
if (!this.viewState.unsavedChanges) {
|
||||
if (!this.viewState.unsavedChanges || this.viewState.forcedROMode) {
|
||||
// No unsaved changes, or read-only mode, not gonna save
|
||||
return resolve();
|
||||
}
|
||||
console.log("Saving page", this.currentPage);
|
||||
|
||||
Reference in New Issue
Block a user