Skip to content

Commit

Permalink
summenote section
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag committed Sep 24, 2015
1 parent 773912b commit ebddc2c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

<!-- -->

Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ebddc2c

Please sign in to comment.