add editors doc
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Vieille 2022-04-19 11:42:07 +02:00
parent d54899e72b
commit 1205d1efc9
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -174,13 +174,4 @@ $builder->add(
## Rendering
GrapesJS will generate a JSON which contains HTML and CSS.
* To extract HTML: `{% set html = value|grapesjs_html %}`
* To extract CSS: `{% set css = value|grapesjs_css %}`
Depending of the mode, you will need to import in the app sass file:
* Bootstrap 4: `@import "~bootstrap/scss/bootstrap.scss";`
* Preset webpage: `@import "~grapesjs-preset-webpage/dist/grapesjs-preset-webpage.min.css";`
* Preset newsletter: `@import "~grapesjs-preset-newsletter/dist/grapesjs-preset-newsletter.css";`
TinyMCE generates HTML. To render, simply use `{{ value|raw }}`.