From 2aac0ddf115a6e70737481e79aa9de84754f41ff Mon Sep 17 00:00:00 2001 From: Semenov Date: Thu, 30 Oct 2014 22:10:59 +0300 Subject: [PATCH] 1 --- README.md | 63 ------------------------------------------------------- 1 file changed, 63 deletions(-) diff --git a/README.md b/README.md index 59bb16a..5f542b7 100644 --- a/README.md +++ b/README.md @@ -41,69 +41,6 @@ echo Widget::widget({ ?> ``` -CKEditor Widget for Yii2 -======================== - -Renders a [CKEditor WYSIWYG text editor plugin](http://www.ckeditor.com) widget. - -Installation ------------- -The preferred way to install this extension is through [composer](http://getcomposer.org/download/). - -Either run - -``` -php composer.phar require "skeeks/yii2-widget-ckeditor" "*" -``` -or add - -```json -"skeeks/yii2-widget-ckeditor" : "*" -``` - -to the require section of your application's `composer.json` file. - -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. - - -Usage ------ -The library comes with two widgets: `CKEditor` and `CKEditorInline`. One is for classic edition and the other for inline -editing respectively. - -Using a model with a basic preset: - -``` - -use skeeks\widget\ckeditor\CKEditor; - - -field($model, 'text')->widget(CKEditor::className(), [ - 'options' => ['rows' => 6], - 'preset' => 'basic' - ]) ?> -``` -Using inline edition with basic preset: - -``` - -use skeeks\widget\ckeditor\CKEditorInline; - - 'basic']);?> - This text can be edited now :) - -``` - -Further Information -------------------- -Please, check the [CKEditor plugin site](http://www.ckeditor.com) documentation for further information about its configuration options. - - > [![skeeks!](https://gravatar.com/userimage/74431132/13d04d83218593564422770b616e5622.jpg)](http://www.skeeks.com) Web development has never been so fun! [www.skeeks.com](http://www.skeeks.com)