Download the PHP package generalsystemsvehicle/just-read-the-instructions without Composer
On this page you can find all versions of the php package generalsystemsvehicle/just-read-the-instructions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download generalsystemsvehicle/just-read-the-instructions
More information about generalsystemsvehicle/just-read-the-instructions
Files in generalsystemsvehicle/just-read-the-instructions
Package just-read-the-instructions
Short Description Wordpress Gutenberg as a Laravel Nova field type
License MIT
Homepage https://github.com/generalsystemsvehicle/just-read-the-instructions
Informations about the package just-read-the-instructions
Just Read The Instructions
Wordpress Gutenberg as a Laravel Nova field type
Credits
This plugin stands on the shoulders of Laraberg, which provides the basic integration of Gutenberg, Laravel-Filemanager and the Laravel world.
Installation
Install the composer package:
Publish configurations and assets for the Just Read The Instructions as well as Laravel Filemanager:
Usage
Nova
Usage in Nova is no different than any other field type. See the Nova docs for a more complete understanding, however this is an example:
The field (column) from the model here is content
. This will be stored as a blob of JSON in the database, so use the appropriate column type for your DB technology.
Note also the ->asHtml()
on the end of the field's make statement. If you do not do this, then the resources preview page will render escaped HTML as this is the default behavior of Nova. The asHtml()
addition will allow previews to render properly.
Blade view(s)
When you output your content
data from the above example, you will need to render it through the rendering engine. You can do this with the helper noted here:
You will also need to include the correct CSS for this, place the below tag in the header somewhere:
All versions of just-read-the-instructions with dependencies
unisharp/laravel-filemanager Version ^1.9
van-ons/laraberg Version ~1.0.3