saperx/laravel-editorjs-html
Composer 安装命令:
composer require saperx/laravel-editorjs-html
包简介
Convert object editorjs to html view
README 文档
README
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 saperx/laravel-editorjs-html
php artisan vendor:publish --provider="SaperX\LaravelEditorjsHtml\EditorJSHtmlProvider"
Usage
use SaperX\LaravelEditorjsHtml\EditorJSHtml; //[...] $convertToHtml = new EditorJSHtml($request->input('editorjs_data')); $convertToHtml->render(); //return html view
统计信息
- 总下载量: 294
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-19