Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use with Laravel #592

Closed
felloz opened this issue Sep 13, 2020 · 1 comment
Closed

Use with Laravel #592

felloz opened this issue Sep 13, 2020 · 1 comment
Labels

Comments

@felloz
Copy link

felloz commented Sep 13, 2020

Hello, do you have any documentation to use Mosaico to register the html into a database, thank you.

@bago
Copy link
Member

bago commented Sep 16, 2020

Look at #73 to read suggestion on how to read/write the content. Keep in mind that HTML is not what you are working on, but an EXPORT. You can't load the HTML but you have to load the saved model (a json file) and then you can make changes and then save the changed model (and export an updated output HTML).

https://github.com/voidlabs/mosaico/wiki/Saving-and-Loading
https://github.com/voidlabs/mosaico/wiki/Serving-Mosaico

@bago bago added the question label Sep 16, 2020
@bago bago closed this as completed Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants