NASER add task functions
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
|
||||
use Tonysm\RichTextLaravel\Editor\LexxyEditor;
|
||||
use Tonysm\RichTextLaravel\Editor\TrixEditor;
|
||||
use Tonysm\RichTextLaravel\Models\EncryptedRichText;
|
||||
use Tonysm\RichTextLaravel\Models\RichText;
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Rich Text Model
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When using the suggested database structure, all your Rich Text content will be
|
||||
| stored in the same Database table. All interactions with that table happens
|
||||
| using this Eloquent Model. You can override this if you really need to.
|
||||
|
|
||||
*/
|
||||
'model' => RichText::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Encrypted Rich Text Model
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When setting the `encrypted` option to `true` on the attribute, the package
|
||||
| will use this model instead of the base RichText model.
|
||||
|
|
||||
*/
|
||||
'encrypted_model' => EncryptedRichText::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Supported Files Content-Types
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When attaching non-image files to Trix, you can control here which files
|
||||
| you want to handle and render in the default "remote file" template
|
||||
| by explicitly adding your supported Content-Types to this list.
|
||||
|
|
||||
*/
|
||||
'supported_files_content_types' => [
|
||||
'application/pdf',
|
||||
'text/csv',
|
||||
'application/msword',
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
'text/plain',
|
||||
'application/vnd.ms-excel',
|
||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Editor
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the default rich text editor. Use the editor name
|
||||
| (e.g., 'trix') which will be used to resolve the editor class and
|
||||
| install the corresponding frontend assets during installation.
|
||||
|
|
||||
*/
|
||||
'editor' => env('RICH_TEXT_EDITOR', 'lexxy'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Registered Editors
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may register the available editors for your application.
|
||||
| The key is the editor name used above, and the value is the
|
||||
| fully qualified class name of the editor implementation.
|
||||
|
|
||||
*/
|
||||
'editors' => [
|
||||
'trix' => TrixEditor::class,
|
||||
'lexxy' => LexxyEditor::class,
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user