Using existing jsx template with grapesjs and also convert the grapesjs UI generated template to react jsx template
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)
@arunkumar413 we're not yet at the point of working directly with React components but something is moving #1970
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.
Issue #1296
Custom Rich Text Editor is not working
Hi @artf, I've just created a custom plugin of the RTE using different libraries like CKEditor 5, TinyMCE 4 or pell but all of them with th...
Issue #1458
Embeded Jquery events in the grapesjs editor not working as expected.
@artf , I tried to embed my template into the grapesjs editor. The issue am getting is the editor not working as expected with that templat...
Issue #2268
[QUESTION] Is there a schema for the content object model?
It would be great if this exists as to write a renderer for the content of the editor I currently need to scour through the source to work...
Issue #1195
[Question] Load basic block component fromElement
I probably missed it somewhere in the docs but could not find it. I'd like to a "form" block inside a "column" block on page load fromEleme...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.