LaravelPackages.net
Acme Inc.
Toggle sidebar
saperx/laravel-editorjs-html

Convert object editorjs to html view

294
0
1.2
About saperx/laravel-editorjs-html

saperx/laravel-editorjs-html is a Laravel package for convert object editorjs to html view. It currently has 0 GitHub stars and 294 downloads on Packagist (latest version 1.2). Install it with composer require saperx/laravel-editorjs-html. Discover more Laravel packages by saperx or browse all Laravel packages to compare alternatives.

Last updated

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

Support Blocks

  • Header
  • Paragraph
  • Table
  • List
  • Delimiter
  • Code
  • Quote
  • Embed
  • Image
  • Checklist
  • Link
  • Raw

Installation

composer require saperx/laravel-editorjs-html
php artisan vendor:publish --provider="SaperX\LaravelEditorjsHtml\EditorJSHtmlProvider"

Usage

use SaperX\LaravelEditorjsHtml\EditorJSHtml;

//[...]

$convertToHtml = new EditorJSHtml($request->input('editorjs_data'));
$convertToHtml->render(); //return html view

Star History Chart