PHP code example of webkenth / editorjs

1. Go to this page and download the library: Download webkenth/editorjs 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/ */

    

webkenth / editorjs example snippets


use msuhels\editorjs\Forms\Components\EditorJs;

EditorJs::make('content')


[
    'header',
    'image',
    'delimiter',
    'list',
    'underline',
    'quote',
    'table',
    'raw',
    'code',
    'inline-code',
    'style',
]

EditorJs::make('content')->tools(['image', 'raw']);