vysotsky-productions / nova-gutenberg
Implementation of the Gutenberg editor as a Laravel Nova Field based on Laraberg.
0.2.2
2019-09-22 08:03 UTC
Requires
- laravel/nova: 2.*
- symfony/thanks: *
- unisharp/laravel-filemanager: *
- van-ons/laraberg: 1.0.1
This package is auto-updated.
Last update: 2025-03-11 23:03:54 UTC
README
Forked from Gutenberg editor.
Changes
- Change text direction ability.
- Fixed hard reload on save.
Requirements
- Laravel Nova
- PHP 7.1.0+
Installation
- Install the package:
composer require vysotsky-productions/nova-gutenberg:*
- Publish Laravel FileManager's assets and config:
php artisan vendor:publish --tag=lfm_config php artisan vendor:publish --tag=lfm_public
Usage
use VysotskyProductions\NovaGutenberg\Gutenberg; class BlogPost extends Resource { // ... public function fields(Request $request) : array { return [ // ... Gutenberg::make("Content") ->direction("rtl"), // ... ]; } // ... }