edofre/yii2-ckeditor Yii2 widget for ckeditor

widgettexteditorckeditor

Yii2 ckeditor widget

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock

Installation

The preferred way to install this extension is through composer.

To install, either run

$ php composer.phar require edofre/yii2-ckeditor "V1.0.2"

or add

"edofre/yii2-ckeditor": "V1.0.2"

to the require section of your composer.json file.

Usage

ActiveForm usage with a model

<?= $form->field($model, 'body')->widget(\edofre\ckeditor\CKEditor::className(), [
    'editorOptions' => [
        'language' => 'nl',
    ],
]) ?>

Usage without model

<?= \edofre\ckeditor\CKEditor::widget([
    'name'          => 'content',
    'editorOptions' => [
        'height'      => '400px',
    ],
]) ?>

Changelog

Change Log: yii2-ckeditor

Version 1.0.2

Date: 07-Jan-2018

  • Update ckeditor version (4.8.0)

Version 1.0.1

Date: 24-Dec-2016

  • Moved to src dir
  • Updated formatting
  • Updated src to npm

Version 1.0.0

Date: 07-Jun-2016

  • Initial release

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



V1.0.2 is the latest of 3 releases



MIT license
Stats
5 github stars & 1 github forks
0 downloads in the last day
0 downloads in the last 30 days
377 total downloads