Add Command to get actual template imported
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Read full answer below βQuestion
Hi Team, We are using grapesjs newsletter plugin in our project for importing and preview the template. We are facing some difficulty in retaining the template structure which we import in to grapesjs editor. Please check the below example IMPORTED HTML <!DOCTYPE html> <html> <body> <h1>Grapesjs </h1> <p>My first grapesjs template.</p> </body> </html> EXPECTED OUTPUT <!DOCTYPE html> <html> <body> <h1>Grapesjs </h1> <p>My first grapesjs template.</p> </body> </html> ACTUAL OUTPUT , what we get from editor using the command (editor.runCommand('gjs-get-inlined-html')) <h1 style="box-sizing: bord...
Answers (1)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1743
[FEATURE REQUEST] Add command to get actual template imported into editor
Hi Team, We are using grapesjs newsletter plugin in our project for importing and preview the template. We are facing some difficulty in re...
Issue #1745
[Feature]: Allow to import HTML documents
Hi Team, We are using grapesjs newsletter plugin in our project for importing and preview the template. We are facing some difficulty in re...
Issue #1746
[FEATURE REQUEST] Don't Strip off html , head and body tags from imported html
Hi Team, We have noticed grapesjs has customised the actual template uploaded, by stripping off the html, head and body tags and adds new s...
Issue #1803
[Feature request] Fixed size canvas
We're using GrapesJS at work for building a kiosk-system into our CMS. Currently using the webpage template. We are displaying the content...
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.