PHP code example of anatoliy700 / yii2-tinymce
1. Go to this page and download the library: Download anatoliy700/yii2-tinymce library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
anatoliy700 / yii2-tinymce example snippets
use anatoliy700\tinymce\TinymceWidget;
echo $form->field($model, 'attrebuteName')->widget(TinymceWidget::className(), [
'editorConfig' => [
//конфигурация редактора(подробнее в офицальной документации, ссылки ниже)
]
])