GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.38k stars 4.06k forks source link

Loading dynamic content #3141

Closed webdevhayes closed 3 years ago

webdevhayes commented 3 years ago

I really apologise if this has been covered previously. I have searched the issues and also read the documentation quite extensively and maybe I am not just understanding it correctly.

I understand you can do run a script in the page builder to load the content however that content/html will be saved once I click save? which means on my front end would load out of date content/html?

Would you be able to point me in the direction to understand this more and have the content always dynamically loaded through an ajax call? I am using laravel and I have the save functionality all working just fine.

Again apologies if this has been covered already.

artf commented 3 years ago

I think you have to read this guide

anuragk15 commented 3 years ago

Did you find the solution? I have a similar issue. For example, when I write blog and store them in my database. Now whenever someone visits my landing page(made with Grapesjs) I want them to see my latest blog there. Also, if some end-user comes to site, I will just have to send the Grapejs html and css right? no components?