maiconpinto / summernote-editor
There is no license information available for the latest version (0.0.1) of this package.
Summernote Editor plugin for CakePHP
Package info
github.com/maiconpinto/summernote-editor
Language:JavaScript
Type:cakephp-plugin
pkg:composer/maiconpinto/summernote-editor
0.0.1
2017-08-15 00:14 UTC
Requires
- php: >=5.5.9
- cakephp/cakephp: >=3.3.2 <4.0.0
Requires (Dev)
This package is not auto-updated.
Last update: 2026-03-01 09:21:30 UTC
README
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require maiconpinto/summernote-editor
Enable Plugin
// config/bootstrap.php Plugin::load('SummernoteEditor', ['routes' => true]);
How to use
// src/Template/Example/add.ctp OR // src/Template/Example/edit.ctp //echo $this->Form->create($example) // [...] //echo $this->Form->input('description', ['class' => 'summernote']); // OR //echo $this->Form->control('description', ['class' => 'summernote']); // [...] //$this->Form->end(); echo $this->element('SummernoteEditor.summernote-editor');
If you already require jquery and bootstrap
echo $this->element('SummernoteEditor.summernote-editor', ['jquery' => false, 'bootstrap' => false]);
If you want use minimum layout (to test)
echo $this->element('SummernoteEditor.summernote-editor', ['layout' => true]);