PHP code example of dmi3yy / dtui-editor
1. Go to this page and download the library: Download dmi3yy/dtui-editor 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/ */
dmi3yy / dtui-editor example snippets
'default_profile' => 'full',
'default_theme' => 'auto',
'default_editor_mode' => 'wysiwyg',
'default_height' => '500px',
'default_edit_type' => 'wysiwyg',
'default_preview_style' => 'vertical',
'usage_statistics' => false,
'routes' => [
'evo_link_search' => 'dtui-evo-link-search',
'image_upload' => 'dtui-image-upload',
'plantuml_renderer' => 'dtui-plantuml',
],
echo 'Hello Evolution CMS';
sh
php artisan package:installsh
php artisan vendor:publish --provider="EvolutionCMS\dTuiEditor\DTuiEditorServiceProvider"
sh
php artisan vendor:publish --provider="EvolutionCMS\dTuiEditor\DTuiEditorServiceProvider" --tag=dtui-editor-config
php artisan vendor:publish --provider="EvolutionCMS\dTuiEditor\DTuiEditorServiceProvider" --tag=dtui-editor-assets
txt
core/custom/config/cms/settings/dTuiEditor.php
txt
assets/images
txt
assets/plugins/dTui.editor
sh
php artisan vendor:publish --provider="EvolutionCMS\dTuiEditor\DTuiEditorServiceProvider" --tag=dtui-editor-assets --force