Greapes editor cannot read "template" tag
Question
When I try to save following html to grapes editor, its not able to render "template" tag.
<datafieldgroup class="c9661" :data_schema="'Rethink : worker_info'">
<template id="c9665" scope="item">
<div class="row">
<div class="cell">
<datafieldimage class="c9806">
<img src="home.jpg" :src="item.text.profile_image" height="100px" width="100px"/>
</datafieldimage>
</div>
</div>
</template>
</datafieldgroup>
Regards
Answers (2)
Because this is how <template> tag works https://github.com/artf/grapesjs/issues/244
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.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1942
HTML conditional comments could not be loaded while we edit the template
While editing the template, conditional comment removed by auto rendering but works when we try to import and save
Issue #597
storageManager: Loading from remote storage
Hi, I'm trying to read the HTML and CSS from my database. When I try to load it into the editor, nothing displays. I can store the data jus...
Issue #1740
[Question]: CSS properties set on id elements not saved v0.14.50
When I try to put background color on a 1 column row element, it is inlined in the editor and not bind with id, it has unique id, and when...
Issue #1817
Change HTML content while block is render in editor
Hello @artf I have one block into block manager like As per above script inside the block, i want to add dynamic HTML content while this bl...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.