PHP code example of bajadev / yii2-ckeditor
1. Go to this page and download the library: Download bajadev/yii2-ckeditor 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/ */
bajadev / yii2-ckeditor example snippets
echo $form->field($model, 'content')->widget(CKEditor::className(), [
'editorOptions' => [
'preset' => 'full', /* basic, standard, full
'inline' => false,
'filebrowserBrowseUrl' => 'browse-images',
'filebrowserUploadUrl' => 'upload-images',
'extraPlugins' => 'imageuploader',
],
]);