Editorjs-html you can convert the output object of EditorJs to HTML using editor-js/editorjs-php validation
Note: The components work with Tailwind classes
- Header
- Paragraph
- Table
- List
- Delimiter
- Code
- Quote
- Embed
- Image
- Checklist
- Link
- Raw
composer require saperx/laravel-editorjs-html
php artisan vendor:publish --provider="SaperX\LaravelEditorjsHtml\EditorJSHtmlProvider"
use SaperX\LaravelEditorjsHtml\EditorJSHtml;
//[...]
$convertToHtml = new EditorJSHtml($request->input('editorjs_data'));
$convertToHtml->render(); //return html view