Issue #384💬 AnsweredOpened October 5, 2017by mekamleshk0 reactions

Create and Edit Template into Database

Quick answerby arthuralmeidap

@mekamleshk open the Developer Tools and see if the XHR is happening for the urlLoad and what is the response

Read full answer below ↓

Question

This is my code to Create a new template and insert the inline html with style into the database : I am able to insert the template-data into database in this manner : <table style="width:100%"> <tr> <th>created_at</th> <th>id</th> <th>template-name</th> <th>template-data</th> </tr> <tr> <td>2017-10-05 12:13:09</td> <td>3</td> <td>first</td> <td><a class="paragraph" style="box-sizing: border-box;">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</a></td> </tr> </table> My edit template code : Wonder why its not loading...

Answers (3)

arthuralmeidapOctober 5, 2017

@mekamleshk open the Developer Tools and see if the XHR is happening for the urlLoad and what is the response

mekamleshkOctober 5, 2017

I can see this createdat:"2017-10-05 13:17:36" id:"121" template-data: <table class="list-item" style="box-sizing: border-box;"><tr style="box-sizing: border-box;"><td class="list-item-cell" style="box-sizing: border-box;"> template-name:"firstname" @arthuralmeidap

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

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.