Explorar el Código

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

Gildas hace 5 años
padre
commit
4a06e56477
Se han modificado 1 ficheros con 1 adiciones y 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);