dev-master
9999999-devThe simple WYSIWYG editor widget based on bootstrap3-wysihtml5 for Yii2 framework.
MIT
The Requires
yii2 yii 2 widget wysiwyg wysihtml5 wysiwyg editor bootstrap3-wysihtml5 simple wysiwyg editor simple editor
The simple WYSIWYG editor widget based on bootstrap3-wysihtml5 for Yii2 framework.
This Yii2 widget provide simple wysiwyg editor - bootstrap3-wysihtml5
., (*1)
For bootstrap3-wysihtml5
see more https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg., (*2)
The minimum requirement by this application template that your Web server supports PHP 5.4.0., (*3)
If you do not have Composer, you may install it by following the instructions at getcomposer.org., (*4)
You can then install this widget. Put in your composer.json in require case:, (*5)
"vitalik74/yii2-bootstrap-wysihtml5-widget": "*"
, (*6)
And run command "composer update", (*7)
echo vitalik74\wysihtml5\Widget::widget([ 'options' => [ 'id' => 'test', 'style' => 'width: 810px; height: 200px', 'placeholder' => "Placeholder text ..." ], ]);
ActiveForm
use like that:<?= $form->field($model, 'body')->widget(\vitalik74\wysihtml5\Widget::className(), ['options' => [
'id' => 'test',
'style' => 'width: 810px; height: 200px',
'placeholder' => "Placeholder text ..."
],]) ?>
, (*8)
The simple WYSIWYG editor widget based on bootstrap3-wysihtml5 for Yii2 framework.
MIT
yii2 yii 2 widget wysiwyg wysihtml5 wysiwyg editor bootstrap3-wysihtml5 simple wysiwyg editor simple editor