Could some one please help me with Custom Load.
Below is my code:- What I can use insted of followings- editor.setHtml( arrdata['html'] ), editor.setCss( arrdata['css'] ), Thanks in Advance.
Read full answer below βQuestion
What I can use instead of followings-
editor.setHtml( arr_data['html'] ), editor.setCss( arr_data['css'] ),
In below code.
Answers (3)
Below is my code:- What I can use insted of followings- editor.setHtml( arrdata['html'] ), editor.setCss( arrdata['css'] ), Thanks in Advance.
Just don't use them for loading your template data
editor.setStyle( arr_data['style'] ),
editor.setComponents( arr_data['components'] );
is all what you need
Thank you....
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1008
Convert local storage into sessionStorage
Thanks in advance! I want to use browser's sessionStorage instead of localStorage. Could some one please help me with this.
Issue #1836
How to add !important in all the generated apis
Hello @artf, While i am going to edit some html from editor with the help of css then i need to add !important into all the css which is ch...
Issue #1822
[QUESTION] - Add style sector for specific Css rule
Hey @artf , COuld you give your help on this one? I want to disable the user to able to select the wrapper block (body) but I still want to...
Issue #513
Model and returned html issue
I have below code to create custom component and wants to retrieve updated html via editor.html() but return wrong html, I am sure I am mis...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins β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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.