question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

custom competent <template> missing inner html when creating a block with it

See original GitHub issue

i 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:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
aryeharmoncommented, Aug 24, 2017

@artf works like a charm thanks

0reactions
lock[bot]commented, Sep 18, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found