瀏覽代碼

Set the page as not saved when cancelling page formatting

Gildas 5 年之前
父節點
當前提交
62538b693a
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;
 		}
 	}