Sfoglia il codice sorgente

Set the page as not saved when cancelling page formatting

Gildas 5 anni fa
parent
commit
62538b693a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      extension/ui/content/content-ui-editor-web.js

+ 1 - 0
extension/ui/content/content-ui-editor-web.js

@@ -1540,6 +1540,7 @@ table {
 			const contentEditable = document.body.contentEditable;
 			await init(previousContent);
 			document.body.contentEditable = contentEditable;
+			onUpdate(false);
 			previousContent = null;
 		}
 	}