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, ], ];