Template loaded via remote storage is not displayed in the editor
Hi @jamejillagit ! According to how DOM Components are loaded, it seems like GrapesJS will prioritize loading from the gjs-components property over the gjs-html one as long as it is defined & valid (array, object or JSON string). If you explicitly want to load from gjs-html, I think your endpoint should not return a v...
Read full answer below ↓Question
Hi, I am trying to load a default template from remote storage into the editor but nothing is displayed. As part of of the initialization I have this code: storageManager: { type: "remote", autosave: true, autoload: true, stepsBeforeSave: 3, urlStore: "https://myendpoint/lib/remotestorageloadtemplate.php", urlLoad: "https://myendpoint/lib/remotestorageloadtemplate.php", params: {}, contentTypeJson: true, }, This is the PHP code from my urlLoad: header('Content-Type: application/json'); $html = '<div class = "hero">Hello world</div>'; $css = '{color:red;} body{width:100%;}'; $arr = array( 'gjs...
Answers (2)
Hi @jamejillagit ! According to how DOM Components are loaded, it seems like GrapesJS will prioritize loading from the gjs-components property over the gjs-html one as long as it is defined & valid (array, object or JSON string). If you explicitly want to load from gjs-html, I think your endpoint s...
@jamejillagit be sure to have read this https://grapesjs.com/docs/modules/Storage.html If you're loading back the HTML to update the template, you'll face issues
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1985
[BUG] Autosave with remote storage doesn't send network requests
OS: Windows 10 Browser: Chrome 73 GrapesJS version: 0.14.57 I have remote storage configured using this call to grapesjs.init(): While I se...
Issue #2425
[Questions]custom traits is not saving in Remote storage manager
I added more traits from the default input traits. but that traits are not saving in the grapesjs JSON metadata. the above is my storage co...
Issue #620
Remote Storage
I'm trying to use the remote storage but no success, with the resolved issues I manage to adjust eveything as it best, but editor do not re...
Issue #1274
Remote storage option is not sending in $_POST the JSON structure
Hi @artf! I'm working to adapt your content builder in our system using the latest release v.0.14.21. I have set up the following configura...
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.
Tutorial
How to Build a Production GrapesJS Editor: The Complete Walkthrough of Brief, Preset, Plugins, and Services
A complete walkthrough of building a production GrapesJS editor: how to choose a preset, pick plugins, and scope setup services without burning a sprint.
Tutorial
GrapesJS Inline RTE Plugins Update: CKEditor 5 v0.1.4 and Froala Inline Text Editor
CKEditor 5 Inline for GrapesJS v0.1.4 fixes Studio SDK toolbar clipping, iframe injection and link balloon bugs. Compare with Froala Inline — both $69.
Tutorial
GrapesJS vs Webflow vs Builder.io vs Puck: Which Visual Builder to Choose in 2026
A practitioner's 2026 comparison of GrapesJS, Webflow, Builder.io, and Puck — pricing, AI features, lock-in, and a one-line rule for picking the right one
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.