PHP code example of nowo-tech / ckeditor5-editor-bundle
1. Go to this page and download the library: Download nowo-tech/ckeditor5-editor-bundle 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/ */
nowo-tech / ckeditor5-editor-bundle example snippets
use Nowo\Ckeditor5EditorBundle\Form\Ckeditor5EditorType;
$builder->add('body', Ckeditor5EditorType::class, [
'label' => 'Article body',
]);
twig
<script src="{{ asset(nowo_ckeditor5_editor_asset_path('ckeditor5-editor.js'), nowo_ckeditor5_editor_asset_package()) }}"></script>