webkenth/editorjs

Next generation block styled editor.

1.0.0 2023-04-05 05:26 UTC

This package is auto-updated.

Last update: 2024-12-05 09:02:20 UTC


README

Latest Version on Packagist Total Downloads

EditorJs integration for Filament Admin/Forms.

Installation

You can install the package via composer:

composer require msuhels/editorjs:dev-master

Usage

use msuhels\editorjs\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 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.