Looking to hire Laravel developers? Try LaraJobs

laravel-editor-js-html maintained by fxcjahid

Description
Package converts editorjs blocks into html.
Author
Last update
2023/10/09 18:26 (dev-main)
License
Downloads
40

Comments
comments powered by Disqus

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