Issue #911πŸ’¬ AnsweredOpened February 28, 2018by rajatkumcom0 reactions

Could some one please help me with Custom Load.

Quick answerby rajatkumcom

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)

rajatkumcomβ€’ February 28, 2018

Below is my code:- What I can use insted of followings- editor.setHtml( arrdata['html'] ), editor.setCss( arrdata['css'] ), Thanks in Advance.

artfβ€’ March 2, 2018

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

rajatkumcomβ€’ March 2, 2018

Thank you....

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.