PHP code example of daothanh / tinymce

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

    

daothanh / tinymce example snippets


use Daothanh\Tinymce\Forms\Components\TinymceField;

TinymceField::make('description');

TinymceField::make('description')->profile('simple');
bash
php artisan vendor:publish --tag="daothanh-tinymce-assets"
bash
php artisan vendor:publish --tag=lfm_config
php artisan vendor:publish --tag=lfm_public
bash
php artisan storage:link
bash
php artisan vendor:publish --tag="daothanh-tinymce-config"