arcanely/editor

Laravel Blade Component Library for Editor.js

dev-main 2022-09-05 22:17 UTC

This package is auto-updated.

Last update: 2024-06-06 02:06:39 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

A Laravel Blade Component Library for the Editor.js Block Editor

Note: This library does nothing to validate or purify user input. This must be done in your application.

Installation

You can install the package via composer:

composer require arcanely/editor

You may override all default files like this

php artisan vendor:publish --provider="Arcanely\Editor\EditorServiceProvider"

or pass a tag for config, public, src-assets, views

php artisan vendor:publish --provider="Arcanely\Editor\EditorServiceProvider"  --tag=views

You can automate the asset publishing on updates by adding this to the composer.json scripts section.

"scripts": {
    "post-update-cmd": [
        "@php artisan vendor:publish --provider=\"Arcanely\\Editor\\EditorServiceProvider\""
    ]
}

Usage

// Usage description here
// Until docs are written, look at the welcome view

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email nickolas.j.adams@gmail.com instead of using the issue tracker.

Credits