Gildas %!s(int64=3) %!d(string=hai) anos
pai
achega
39cab1f91e
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      lib/web/editor/editor-web.js
  2. 1 1
      manifest.json

+ 1 - 1
lib/web/editor/editor-web.js

@@ -1712,7 +1712,7 @@ table {
 					containerElement.shadowRoot.appendChild(shadowRoots[noteId]);
 				}
 			});
-			document.querySelectorAll(NOTE_TAGNAME).forEach(containerElement => containerElement.shadowRoot = shadowRoots[containerElement.dataset.noteId]);
+			document.querySelectorAll(NOTE_TAGNAME).forEach(containerElement => shadowRoots[containerElement.dataset.noteId].childNodes.forEach(node => containerElement.shadowRoot.appendChild(node)));
 			document.body.contentEditable = contentEditable;
 			document.head.querySelectorAll("style").forEach(styleElement => styleElement.remove());
 			const styleElement = document.createElement("style");

+ 1 - 1
manifest.json

@@ -8,7 +8,7 @@
 		"64": "src/extension/ui/resources/icon_64.png",
 		"128": "src/extension/ui/resources/icon_128.png"
 	},
-	"version": "1.21.4",
+	"version": "1.21.5",
 	"description": "__MSG_extensionDescription__",
 	"content_scripts": [
 		{