PHP code example of saperx / laravel-editorjs-html
1. Go to this page and download the library: Download saperx/laravel-editorjs-html library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
saperx / laravel-editorjs-html example snippets
use SaperX\LaravelEditorjsHtml\EditorJSHtml;
//[...]
$convertToHtml = new EditorJSHtml($request->input('editorjs_data'));
$convertToHtml->render(); //return html view