maaz1n / filament-editorjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filament EditorJs

Filament EditorJs Latest Version on Packagist Total Downloads

EditorJs integration for Filament Admin/Forms.

Installation

You can install the package via composer:

composer require rahmanramsi/filament-editorjs

Usage

use FilamentEditorJs\Forms\Components\EditorJs;

EditorJs::make('content')

Customization

Tools

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']);

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

License:MIT License


Languages

Language:PHP 41.4%Language:JavaScript 37.5%Language:CSS 13.7%Language:Blade 7.4%