PHP code example of webplusmultimedia / la-tiny-editor

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

    

webplusmultimedia / la-tiny-editor example snippets


return [
    'profiles' => [
    ...
        'myconf' => [
                'plugins' => 'autolink link code',
                'toolbar' => 'undo redo | bold italic underline | link | removeformat code brbtn',
            ],
    ...     
    ]
];

public static function getFormSchema(Form $form): Form
    {
        return $form
            ->schema([
                LaTinyEditor::make('extrait')
                    ->nullable()
                    ->profile('myconf')
                    ->
bash
php artisan vendor:publish --tag=la-tiny-editor-assets
bash
php artisan vendor:publish --tag="la-tiny-editor-config"