Closed kamleshkatpara closed 7 years ago
@mekamleshk you can debug with the Developer Tools. Open the developer tools and run the grapesjs and see if the XHR is happening and what is the body of the response
@mekamleshk first of all, learn how to post your code on GitHub please https://guides.github.com/features/mastering-markdown/ I'm wasting my time just by reading/fixing them
@artf I have updated my code. I am sending and retrieving the template data like this :
`var html = editor.runCommand('gjs-get-inlined-html');
var storageManager = editor.StorageManager;
storageManager.store({"template-data":html})`
I am able to store it into database but while editing the template urlLoad does not take that format which I had sent while saving it into database
just load it manually then
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 :
My edit template code :
Wonder why its not loading it into urlLoad
@artf @sonnylloyd