fxcjahid/laravel-editor-js-html
最新稳定版本:2.1
Composer 安装命令:
composer require fxcjahid/laravel-editor-js-html
包简介
Package converts editorjs blocks into html.
README 文档
README
Laravel Editor JS Html
This package conver EditorJs to pure Html
Install
- Install package
composer require fxcjahid/Laravel-editor-js-html
- Add provider in
config/app.php
fxcjahid\LaravelEditorJsHtml\LaravelEditorJsHtmlProvider::class,
Supported Blocks and tools:
- Heading
- Quote
- Image
- Simple Image (without backend requirement)
- Nested List
- Checklist
- Link embed
- Embeds ( YouTube, Twitch, Vimeo, Gfycat, Instagram, Twitter, etc )
- Table
- Delimiter
- Warning
- Code
- Raw HTML
- Attaches
- Marker
- Inline Code
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
统计信息
- 总下载量: 40
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-10