sophy/laravel-editorjs-html

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 4

Language:Blade

Type:metapackage

v1.8 2023-02-15 09:51 UTC

This package is auto-updated.

Last update: 2024-04-15 12:09:16 UTC


README

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 sophy/laravel-editorjs-html php artisan vendor:publish --provider="Ankitech\LaravelEditorjsHtml\EditorJSHtmlProvider"

Usage

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