浏览代码

unhighlight the selected element when saving the page (see #494)

Gildas 5 年之前
父节点
当前提交
4a06e56477
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      extension/ui/content/content-ui-editor-web.js

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

@@ -1494,6 +1494,7 @@ table {
 	}
 
 	function getContent(compressHTML, updatedResources) {
+		unhighlightCutElement();
 		serializeShadowRoots(document);
 		const doc = document.cloneNode(true);
 		deserializeShadowRoots(doc);