sophy / laravel-editorjs-html
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 4
Language:Blade
Type:metapackage
Requires
- php: ^7.3|^8.0
- codex-team/editor.js: dev-master
- illuminate/support: ^6|^7|^8|^9|^10
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 sophy/laravel-editorjs-html php artisan vendor:publish --provider="Ankitech\LaravelEditorjsHtml\EditorJSHtmlProvider"
Usage
$convertToHtml = new EditorJSHtml($request->input('editorjs_data')); $convertToHtml->render(); return html view