LiveDuo / destack

Page builder for Next.js 🅧. Zero-config deployment 🚀. React now supported!
MIT License
1.61k stars 324 forks source link

Editor standalone use #98

Closed PatrickMA closed 1 year ago

PatrickMA commented 1 year ago

Hello,

Is it possible to use the (craft) Editor and the full-preview of the components as a standalone components where i can pass the JSON?

Thank you!

LiveDuo commented 1 year ago

@PatrickMA Hey, if you are willing to mess a little with the source code it's not too hard. You'd need to change the Editor.tsx so it uses a custom JSON that should be passed to actions.deserialize.

PatrickMA commented 1 year ago

@LiveDuo Thank you very much!