custom competent <template> missing inner html when creating a block with it
See original GitHub issuei have a custom component “template” that when i create a block out of it, example:
<div><template><div>SOME TEXT</div></template></div>
when i drag it to the page i will only get:
<div><template></template></div>
This only happens with a with this specific component.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
custom competent <template> missing inner html ... - GitHub
tagName == 'TEMPLATE') { console.log(el, el.innerHTML); // as template.children will return an empty array the traverser // will skip all nodes, ...
Read more >Element.innerHTML - Web APIs | MDN
The Element property innerHTML gets or sets the HTML or XML markup contained within the element.
Read more >HTML Standard
1 Introduction; 2 Common infrastructure; 3 Semantics, structure, and APIs of HTML documents; 4 The elements of HTML; 5 Microdata; 6 User interaction ......
Read more >selected nested polymer element innerHTML missing style
... a <content> element appears inside a <template> of a custom element, that content is filled in with stuff form (from a dom...
Read more >Blocks - MoodleDocs
The guide is written as an interactive course which aims to develop a configurable, multi-purpose block that displays arbitrary HTML. It's ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@artf works like a charm thanks
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.