PHP code example of snowsoft / oatinymce

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

    

snowsoft / oatinymce example snippets



    'extensions' => [

        'tinymce' => [
        
            //Set to false if you want to disable this extension
            'enable' => true,
            
            // Editor configuration
            'config' => [
                
            ]
        ]
    ]


    'config' => [
        'lang'   => 'tr-TR',
        'height' => 500,
    ]

$form->tinymce('content');

// Set config
$form->tinymce('content')->options(['lang' => 'tr', 'height' => 500]);
bash
php artisan vendor:publish --tag=laravel-admin-oatinymce