Issue #2370✓ SolvedOpened November 4, 2019by arunkumar4132 reactions

Using existing jsx template with grapesjs and also convert the grapesjs UI generated template to react jsx template

快速解答by artf2

@arunkumar413 we're not yet at the point of working directly with React components but something is moving #1970

Read full answer below ↓

Question

Hi Team,

I just started playing with grapesjs and I'd like to use the exising/currently working react template/component in grapesjs UI editor. And also convert the template created in grapesjs to the react/jsx template/component format. Could you please let me know if this is possible with grapesjs and guide me to use/configure grapesjs to achieve my requirement.

Thanks, Arun

Answers (2)

👍 Most helpfulartfNovember 6, 2019

@arunkumar413 we're not yet at the point of working directly with React components but something is moving #1970

pouyamiralayiNovember 4, 2019

Hi there! please read the setup guide and after that you can use editor.addComponents(<div>Hello JSX</div>) to add components. for framework specific JSX, you can use processor callbacks as well. cheers!

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.