dev-master
9999999-devckeditor 5 widget for yii2 framework
MIT
The Requires
by Stas Kevich
ckeditor 5 widget for yii2 framework
More details about it on site https://docs.ckeditor.com/ckeditor5/latest/builds/, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
composer require --prefer-dist stkevich/yii2-ckeditor5 "*"
or add, (*4)
"stkevich/yii2-ckeditor5": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by:, (*6)
use \stkevich\ckeditor5\EditorClassic; ... $form->field($model, 'fieldName')->widget(EditorClassic::className(), []);
You can edit toolbar or uploadUrl:, (*7)
$form->field($model, 'fieldName')->widget(EditorClassic::className(), [ 'toolbar' => ['heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote'], 'uploadUrl' => '/someUpload.php', ] );
More info in guides, (*8)
ckeditor 5 widget for yii2 framework
MIT