Issue #1588Opened November 16, 2018by vvladev1 reactions

[QUESTION]

Question

Code SnippetTEXT
Hi guys and thank you for your magnificent work and this API!
I have a question about the box, which wraps all components after saving. For example lets say I have custom element something like `<div class="myclass" data-gjs-type="custom"></div>`. After saving the template and reloading it for farther editing in layer panel appear that all my ellement are wrapped by boxes (`<div class="c234"><div class="myclass" data-gjs-type="custom"></div></div>`). 
Is it a mater of wrong storing and loading tha template or it is not properly defined by me. Is it possible to avoid this additional boxes when editting the template?
I'm loading template in this way:
//loading
editor.setComponents(storedHtml);
editor.setStyle(storedCss);
//stoaring
storedHtml=editor.getHtml()
storedCss=editor.getCss()
Thank you!

Answers (3)

vvladevNovember 16, 20180 reactions

O, yes, I'm sorry! Thank you, cjpollard !

lock[bot]November 17, 20190 reactions

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.