Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.65 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.65 KB

laravel-editorjs-html

Laravel Editor JS Html

This package conver EditorJs to pure Html

Install

  1. Install package
composer require fxcjahid/Laravel-editor-js-html
  1. Add provider in config/app.php
fxcjahid\LaravelEditorJsHtml\LaravelEditorJsHtmlProvider::class, 

Supported Blocks and tools:

See the 😎 Awesome Editor.js list for more tools.

Suggest

Usage

Convert blocks into HTML

use Fxcjahid\LaravelEditorJsHtml\BlocksManager;

$blocksManager = new BlocksManager($data);
$html = $blocksManager->renderHtml();
echo $html