2017 © Pedro Peláez
 

extension yii2-ckeditor5

ckeditor 5 widget for yii2 framework

image

stkevich/yii2-ckeditor5

ckeditor 5 widget for yii2 framework

  • Thursday, March 29, 2018
  • by stkevich
  • Repository
  • 1 Watchers
  • 1 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 111 % Grown

The README.md

YII2 CKEditor 5

More details about it on site https://docs.ckeditor.com/ckeditor5/latest/builds/, (*1)

Installation

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)

Usage

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)

The Versions

29/03 2018

dev-master

9999999-dev

ckeditor 5 widget for yii2 framework

  Sources   Download

MIT

The Requires

 

by Stas Kevich