2017 © Pedro Peláez
 

symfony-bundle summernote-bundle

Summernote bundle, adds Summernote WYSIWYG editor to your Symfony2 project

image

adnedelcu/summernote-bundle

Summernote bundle, adds Summernote WYSIWYG editor to your Symfony2 project

  • Friday, April 1, 2016
  • by adnedelcu
  • Repository
  • 1 Watchers
  • 3 Stars
  • 68 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

SummernoteBundle

SummernoteBundle adds summernote bundle, (*1)

StyleCI Downloads Version License
StyleCI Total Downloads Latest Stable Version License

Installation

Step 1: Installation

Using Composer, just add the following configuration to your composer.json:, (*2)

Or you can use composer to install this bundle: Add SummernoteBundle in your composer.json:, (*3)

    composer require adnedelcu/summernote-bundle --no-update

Now tell composer to download the bundle by running the command:, (*4)

    composer update adnedelcu/summernote-bundle

Step 2: Enable the bundle

Finally, enable the bundle in the kernel:, (*5)

``` php <?php // app/AppKernel.php, (*6)

public function registerBundles() { $bundles = array( // ... new ADN\SummernoteBundle\ADNSummernoteBundle(), ); }, (*7)


## Configuration You can configure bundle as follows ```yaml adn_summernote: plugins: - video selector: .summernote #defines summernote selector for apply to toolbar: # define toolbars, if no toolbar configured, default toolbars defined ['style', ['style']] extra_toolbar: # extra toolbar can be used for plugins toolbar and as additional toolbar setings, when 'toolbar' option is omitted elfinder: [elfinder] width: 600 height: 400 include_jquery: true #include js libraries, if your template already have them, set to false include_bootstrap: true include_fontawesome: true

To upload the images pasted in the editor, you can add the following configuration to the bundle, (*8)

adn_summernote:
    # ...
    upload_images: true # set to false if you don't want to upload images
        # used for the image upload (so that the images will not be saved as base64 in the content)
        max_upload_size: 1048576
        # this route must be implemented if you want to use the image upload feature
        image_upload_route: acme_image_upload
    # ...

Usage

Twig template example, (*9)

    {{ summernote_init() }}
    <textarea class="summernote"></textarea>

The Versions

01/04 2016

dev-master

9999999-dev https://github.com/adnedelcu/summernote-bundle

Summernote bundle, adds Summernote WYSIWYG editor to your Symfony2 project

  Sources   Download

MIT

The Requires

 

by Al Ganiev
by Alexandru-Daniel Nedelcu

editor wysiwyg summernote

27/09 2015

dev-analysis-8ARNBX

dev-analysis-8ARNBX https://github.com/helios-ag/summernote-bundle

Summernote bundle, adds Summernote WYSIWYG editor to your Symfony2 project

  Sources   Download

MIT

The Requires

 

by Al Ganiev

editor wysiwyg summernote

23/09 2015

0.1

0.1.0.0 https://github.com/helios-ag/summernote-bundle

Summernote bundle, adds Summernote WYSIWYG editor to your Symfony2 project

  Sources   Download

MIT

The Requires

 

by Al Ganiev

editor wysiwyg summernote