EditorJs integration for Filament Admin/Forms.
You can install the package via composer:
composer require rahmanramsi/filament-editorjs
use FilamentEditorJs\Forms\Components\EditorJs;
EditorJs::make('content')
By default all tools are enabled. This is a list of available tools:
[
'header',
'image',
'delimiter',
'list',
'underline',
'quote',
'table',
'raw',
'code',
'inline-code',
'style',
]
You can disable any of them using by passing an array of tool names:
EditorJs::make('content')->disableTools(['image', 'raw']);
Also you can enable only certain tools:
EditorJs::make('content')->tools(['image', 'raw']);
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.