Explorar o código

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

Gildas %!s(int64=5) %!d(string=hai) anos
pai
achega
4a06e56477
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);