Issue #858πŸ’¬ AnsweredOpened February 12, 2018by poirin2 reactions

How to extract html/css code in view code automatically?

Quick answerby hibuno❀ 1

Hi @poirin , I have some solution, last week i have this problem too i try to save current HTML & CSS without manual copying. And below is my code . --- Add custom panel eg. left top button (save button). And then create save function Good luck πŸ‘

Read full answer below ↓

Question

I need the function to copy the html/css code in the view code component automatically. Is there a predefined function? or I must implement this directly?

Answers (3)

hibunoβ€’ February 12, 2018

Hi @poirin , I have some solution, last week i have this problem too i try to save current HTML & CSS without manual copying. And below is my code . --- Add custom panel eg. left top button (save button). And then create save function Good luck πŸ‘

artfβ€’ February 13, 2018

If you're talking about storing your templates int DB or any other remote endpoint you can setup the built-in RemoteStorage, take a look here #778

lock[bot]β€’ September 18, 2019

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.

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.