1. Go to this page and download the library: Download rmeira/nova-editor-js library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rmeira / nova-editor-js example snippets
use Advoor\NovaEditorJs\NovaEditorJs;
NovaEditorJs::make('FieldName');
NovaEditorJs::generateHtmlOutput($user->about);
// ...
public function boot()
{
parent::boot();
Nova::serving(function () {
Nova::script('editor-js-warning', public_path('js/editor-js-plugins/warning.js'));
});
}
// ...