ankitech/laravel-editorjs-html

Installs: 4 828

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 0

Forks: 4

Open Issues: 1

Language:Blade

Type:metapackage

1.1 2024-05-12 11:12 UTC

This package is auto-updated.

Last update: 2024-05-12 11:35:28 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 ankitech/laravel-editorjs-html php artisan vendor:publish --provider="Ankitech\LaravelEditorjsHtml\EditorJSHtmlProvider"

Usage

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