CKEditor widget (визуальный редактор)
skeeks/yii2-widget-ckeditor
CKEditor это готовый к использованию HTML текстовый редактор предназначен для упрощения создания веб-контента. Это визуальный редактор, который приносит функции процессора общее слово непосредственно в веб-страницы.
- Семенов Александр
- /
- Rédacteurs
- /
- il y a 8 ans
- /
- /
- 9000
- /
- 0
Heure de publication: mercredi 24 juin 2015 (il y a 8 ans)
Créé par: Семенов Александр Сергеевич
Catégorie: Rédacteurs
Version actuelle:
1 janv. 1970 à 03:00:00 (il y a 54 ans)
Packagist: skeeks/yii2-widget-ckeditor
: https://github.com/skeeks-semenov/yii2-widget-ckeditor
:
Type: Компонент
CKEditor это готовый к использованию HTML текстовый редактор предназначен для упрощения создания веб-контента. Это визуальный редактор, который приносит функции процессора общее слово непосредственно в веб-страницы.
CKEditor Widget for Yii2
Renders a CKEditor WYSIWYG text editor plugin widget.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require "skeeks/yii2-widget-ckeditor" "*"
or add
"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;
<?= $form->field($model, 'text')->widget(CKEditor::className(), [
'options' => ['rows' => 6],
'preset' => 'basic'
]) ?>
Using inline edition with basic preset:
use skeeks\widget\ckeditor\CKEditorInline;
<?php CKEditorInline::begin(['preset' => 'basic']);?>
This text can be edited now :)
<?php CKEditorInline::end();?>
Further Information
Please, check the CKEditor plugin site documentation for further information about its configuration options.
Web development has never been so fun!
www.skeeks.com
CHANGELOG
1.0.7.pre
- dev
dev-master — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
dev-release — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
1.0.6 — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
1.0.5 — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
1.0.4 — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
1.0.3 — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
1.0.2 — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
1.0.1 — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
1.0.0 — 1 janv. 1970 à 03:00:00 (il y a 54 ans)
Стандартная установка:
Добавьте composer.json файл вашего проекта:
"skeeks/yii2-widget-ckeditor": "*"
Запустите обновление зависимостей
Tous les commentaires (0)