PHP code example of jakabj16 / quill

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

    

jakabj16 / quill example snippets


[
    'toolbarOptions' => [['bold', 'italic', 'underline'], [['color' => []]]],
],

[
    'js' => '{quill}.enable(false);',
],

[
    'modules' => [
        'formula' => true, // Include formula module
    ],
    'toolbarOptions' => [['formula']], // Include button in toolbar
]

[
    'modules' => [
        'syntax' => true, // Include syntax module
    ],
    'toolbarOptions' => [['code-block']] // Include button in toolbar
]