From 1205d1efc902290b354098b1e6dc6b4d7d91682f Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 19 Apr 2022 11:42:07 +0200 Subject: [PATCH] add editors doc --- docs/utils/editors/tinymce.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/utils/editors/tinymce.md b/docs/utils/editors/tinymce.md index bf11e83..eb9694c 100644 --- a/docs/utils/editors/tinymce.md +++ b/docs/utils/editors/tinymce.md @@ -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 }}`.