PHP code example of ezadev / xeditor
1. Go to this page and download the library: Download ezadev/xeditor 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/ */
ezadev / xeditor example snippets
'extensions' => [
'xeditor' => [
'enable' => true,
'config' => [
'lang' => 'id-ID',
'height' => 250,
]
]
]
$form->xeditor('content')->set_mode('full|lite');
$form->xeditor('content')->set_mode('custom')
->set_toolbar(['bold','underline']);
bash
php artisan vendor:publish --tag=ezadev-xeditor