Просмотр исходного кода

Set the page as not saved when cancelling page formatting

Gildas 5 лет назад
Родитель
Сommit
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;
 		}
 	}