Issue #449Opened October 25, 2017by alissonphp0 reactions

Can i load editor content dynamically?

Question

I have a API rest that receives and supplies the contents of the editor items. The entire store created by the editor is saved: assets, components, css, ... Each item is accessible via route (eg editor / page / 4), when loading the route API returns to the content of the item, however when calling the action editor.storeManager.load (content), I can not load the content to the editor.

What would be the best way to work with this flow?

Thank you for your attention.

Answers (2)

artfOctober 25, 20170 reactions

If for content you mean html/css, probably you're looking for editor.setComponents('<div>...')

lock[bot]September 18, 20190 reactions

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

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.