dev-master
9999999-dev https://github.com/andrtechno/wgt-tinymceWidget Tinymce
MIT BSD 3-Clause
The Requires
by CORNER CMS
extension form widget tinymce corner-cms
Wallogit.com
2017 © Pedro Peláez
Widget Tinymce
Widget for Yii Framework 2.0 to use TinyMce, (*1)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer require --prefer-dist panix/wgt-tinymce "*"
or add, (*5)
"panix/wgt-tinymce": "*"
to the require section of your composer.json file., (*6)
Once the extension is installed, simply use it in your code by :, (*7)
<?php
$form->field($model, 'text')->widget(TinyMce::className(), [
'options' => ['rows' => 6],
'clientOptions' => [
'plugins' => [
"advlist autolink lists link charmap print preview anchor",
"searchreplace visualblocks code fullscreen",
"insertdatetime media table contextmenu paste"
],
'toolbar' => "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
]
]);
?>
Widget Tinymce
MIT BSD 3-Clause
extension form widget tinymce corner-cms