Files
eatvio-infra/config/rich-text-laravel.php
2024-01-15 01:05:10 +03:00

36 lines
1.3 KiB
PHP

<?php
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' => \Tonysm\RichTextLaravel\Models\RichText::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',
],
];