PHP code example of zertex / yii2-zx-ckeditor

1. Go to this page and download the library: Download zertex/yii2-zx-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/ */

    

zertex / yii2-zx-ckeditor example snippets


use zertex\ckeditor\CKEditor;
use yii\helpers\Html;

CKEditor::widget([
    'editorOptions' => [
        'preset' => 'full', // basic, standard, full - feature not  [
        'preset' => 'full',
        'inline' => false,
    ],
]);