Skip to content

fxcjahid/Laravel-editor-js-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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