2017 © Pedro Peláez
 

yii2-extension editor

CKEditor widget for Yii2.

image

denoll/editor

CKEditor widget for Yii2.

  • Monday, October 26, 2015
  • by denoll
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

CKEditor Widget for Yii2

Renders a CKEditor WYSIWYG text editor plugin widget., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

composer require denoll/editor:~1.0

or add, (*4)

"denoll/editor" : "~1.0"

to the require section of your application's composer.json file., (*5)

Skins & Plugins

This widget works with default's dev-full/stable branch of CKEditor, with a set of plugins and skins. If you wish to configure a different skins or plugins that the one proposed, you will have to download them separately and configure the widget's clientOptions attribute accordingly., (*6)

Usage

The library comes with two widgets: CKEditor and CKEditorInline. One is for classic edition and the other for inline editing respectively., (*7)

Using a model with a basic preset:, (*8)


use denoll\editor\CKEditor; = $form->field($model, 'text')->widget(CKEditor::className(), [ 'options' => ['rows' => 6], 'preset' => 'basic' ]) ?>

Using inline edition with basic preset:, (*9)


use denoll\editor\CKEditorInline; 'basic']);?> This text can be edited now :)

Testing

To test the extension, is better to clone this repository on your computer. After, go to the extensions folder and do the following (assuming you have composer installed on your computer):, (*10)

$ composer install --no-interaction --prefer-source --dev

Once all required libraries are installed then do:, (*11)

$ vendor/bin/phpunit

Further Information

Please, check the CKEditor plugin site documentation for further information about its configuration options., (*12)

Contributing

Please see CONTRIBUTING for details., (*13)

License

The BSD License (BSD). Please see License File for more information., (*14)

>, (*15)

The Versions

26/10 2015

dev-master

9999999-dev https://github.com/denoll/editor

CKEditor widget for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

extension yii2 yii yii 2 widget ckeditor denoll

19/08 2015

1.0

1.0.0.0 http://yiiwheels.com/extension/ckeditor-widget

CKEditor widget for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

extension yii2 yii yii 2 widget ckeditor denoll