Closed milahu closed 3 years ago
problem: multiple transforms will trigger some bug, and only the first transform works
what does work is node.insertAdjacentHTML
with the full html source of the new node
gutentag
hello
gutentag2
hello2
Thanks so much for your work, I will check this some time when I got time.
when I got time.
haha, same. its only a sideproject of a sideproject of a sideproject ....
but its low priority, cos we already have node.insertAdjacentHTML
to transform html / xml / custom element nodes, see my workaround
use case: transform custom elements
edit: use classList and localName todo: maybe implement element.className todo: implement document.createElement