first commit
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Profiles
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You can add as many as you want of profiles to use it in your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'profiles' => [
|
||||
|
||||
'default' => [
|
||||
'plugins' => 'advlist autoresize codesample directionality emoticons fullscreen hr image imagetools link lists media table toc wordcount',
|
||||
'toolbar' => 'undo redo removeformat | formatselect fontsizeselect | bold italic | rtl ltr | alignjustify alignright aligncenter alignleft | numlist bullist | forecolor backcolor | blockquote table toc hr | image link media codesample emoticons | wordcount fullscreen',
|
||||
'upload_directory' => null,
|
||||
],
|
||||
|
||||
'simple' => [
|
||||
'plugins' => 'autoresize directionality emoticons link wordcount',
|
||||
'toolbar' => 'removeformat | bold italic | rtl ltr | link emoticons',
|
||||
'upload_directory' => null,
|
||||
],
|
||||
|
||||
'test' => [
|
||||
'plugins' => 'advlist paste autoresize codesample directionality emoticons fullscreen hr image imagetools link lists media table toc wordcount',
|
||||
'toolbar' => ' bold italic | numlist bullist | blockquote table hr | link | fullscreen',
|
||||
'upload_directory' => null,
|
||||
'custom_configs' => [
|
||||
'table_advtab' => false,
|
||||
'table_row_advtab' => false,
|
||||
'table_cell_advtab' => false,
|
||||
'contextmenu' => '',
|
||||
'table_resize_bars' => false,
|
||||
'paste_as_text' => true
|
||||
],
|
||||
]
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Configs
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you want to add custom configurations to directly tinymce
|
||||
| You can use custom_configs key as an array
|
||||
|
|
||||
*/
|
||||
|
||||
/*
|
||||
'default' => [
|
||||
'plugins' => 'advlist autoresize codesample directionality emoticons fullscreen hr image imagetools link lists media table toc wordcount',
|
||||
'toolbar' => 'undo redo removeformat | formatselect fontsizeselect | bold italic | rtl ltr | alignjustify alignright aligncenter alignleft | numlist bullist | forecolor backcolor | blockquote table toc hr | image link media codesample emoticons | wordcount fullscreen',
|
||||
'custom_configs' => [
|
||||
'allow_html_in_named_anchor' => true,
|
||||
'link_default_target' => '_blank',
|
||||
'codesample_global_prismjs' => true,
|
||||
'image_advtab' => true,
|
||||
'image_class_list' => [
|
||||
[
|
||||
'title' => 'None',
|
||||
'value' => '',
|
||||
],
|
||||
[
|
||||
'title' => 'Fluid',
|
||||
'value' => 'img-fluid',
|
||||
],
|
||||
],
|
||||
]
|
||||
],
|
||||
*/
|
||||
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Templates
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You can add as many as you want of templates to use it in your application.
|
||||
|
|
||||
| https://www.tiny.cloud/docs/plugins/opensource/template/#templates
|
||||
|
|
||||
| ex: TinyEditor::make('content')->profiles('template')->template('example')
|
||||
*/
|
||||
|
||||
'templates' => [
|
||||
|
||||
'example' => [
|
||||
// content
|
||||
['title' => 'Some title 1', 'description' => 'Some desc 1', 'content' => 'My content'],
|
||||
// url
|
||||
['title' => 'Some title 2', 'description' => 'Some desc 2', 'url' => 'http://localhost'],
|
||||
],
|
||||
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user