PHP code example of malzariey / filament-lexical-editor
1. Go to this page and download the library: Download malzariey/filament-lexical-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/ */
malzariey / filament-lexical-editor example snippets
use Malzariey\FilamentLexicalEditor\FilamentLexicalEditor;
public static function form(Form $form): Form
{
return $form
->schema([
FilamentLexicalEditor::make('content'),
]);
}