From ebddc2cdff121e8d5d55153433b44cab09b83255 Mon Sep 17 00:00:00 2001 From: Al Ganiev Date: Fri, 25 Sep 2015 01:42:43 +1000 Subject: [PATCH] summenote section --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 7b91267..3145919 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Recommended bundles to use with: * [TinymceBundle](https://github.com/stfalcon/TinymceBundle/) * [IvoryCKEditorBundle](https://github.com/egeloen/IvoryCKEditorBundle/) * [TrsteelCkeditorBundle](https://github.com/trsteel88/TrsteelCkeditorBundle/) +* [FMSummernoteBundle](https://github.com/helios-ag/summernote-bundle/) @@ -50,6 +51,8 @@ Recommended bundles to use with: - [TinyMCE integration](#tinymce-integration) - [Integration with TinyMCE 3](#tinymce-3x) - [Integration with TinyMCE 4](#tinymce-4x) +- [Summernote integration](#summernote-integration) + - [Advanced configuration](#advanced-configuration) - [Custom configuration provider](#custom-configuration-provider) - [Custom loader](#custom-loader) @@ -522,6 +525,26 @@ as shown below instance_name is instance of elfinder configuration +## Summernote integration + +Update the editor property in your app/config.yml +Set Summernote editor type: + +```yaml +fm_elfinder: + editor: summernote +``` + +Edit template that contains summernote instance (the same way as for tinymce) + +```jinja + {{ elfinder_summernote_init('instance_name') }} + {{ summernote_init() }} +``` + +Don't forget to enable elfinder plugin in summernote configuration. + + # Advanced configuration ## Custom configuration provider