Skip to content

Muntader/laravel-editorjs-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published