PHP code example of wotz / filament-custom-tiptap-extensions

1. Go to this page and download the library: Download wotz/filament-custom-tiptap-extensions 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/ */

    

wotz / filament-custom-tiptap-extensions example snippets


use Wotz\FilamentCustomTiptapExtensions\Plugins\CheckedListPlugin;use Wotz\FilamentCustomTiptapExtensions\Plugins\LinkPickerRichContentPlugin;
use Filament\Forms\Components\RichEditor;

RichEditor::make('description')
    ->toolbarButtons([
        [
            'linkPicker', 
            'checkedList',
        ],
    ])
    ->plugins([
        LinkPickerRichContentPlugin::make(),
        CheckedListPlugin::make(),
    ]);