Skip to content

Load javascript saved via editor.getJs() #3641

Answered by artf
Traver72 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Traver72 as explained here https://grapesjs.com/docs/modules/Storage.html#store-and-load-templates you have to store/load the JSON. What you get from getJs()/getHtml()/getCss() is only to use for "final pages" as they don't have all the information necessary for the editor.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Traver72
Comment options

Answer selected by Traver72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants