Issue #1429Opened September 15, 2018by iainheng2 reactions

Empty content when load from remote storage if components array is not empty

Question

I have problem loading stored remote content into the editor when the JSON contains non empty gjs-components

My JSON data looks like this which is very basic blockquote with a sentence of text image

Example response when calling my remote endpoint image

I am able to load the content if I set gjs-components: "" and it will load the gjs-html fine into the editor.

And here is my current storage management configuration

image

Trying to search for solution for few hours without any success. 😥

Any help will be very much appreciated.

Answers (3)

artf• September 16, 20181 reactions

There is actually might be a bug, can you try to return gjs-components as a string (so try to json encode your array)

artf• September 16, 20181 reactions

Thanks @iainheng, for now, keep it like this until the next release (hope to push it the next week)

iainheng• September 16, 20180 reactions

@artf Thanks for your help. 😊 It is a bug indeed. I store the gjs-components as a string and it is working now. 🎉

This is the same data store as string image

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.