A Filament v4 plugin that adds fullscreen functionality to the Rich Editor component. This plugin allows users to expand the rich editor to fullscreen mode for a better writing experience.
You can install the package via composer:
composer require mdobes/rich-editor-fullscreen
Once installed, the fullscreen functionality is automatically available in all Rich Editor components. The plugin registers itself globally, so no additional configuration is needed.
The plugin automatically adds the fullscreen button to your Rich Editor toolbar:
use Filament\Forms\Components\RichEditor;Â RichEditor::make('content') ->toolbarButtons([ 'fullscreen', ])
Cmd + Shift + F
(Mac) or Ctrl + Shift + F
(Windows/Linux): Toggle fullscreen modeEsc
: Exit fullscreen modeYou can customize the fullscreen appearance by publishing the assets and modifying the CSS:
php artisan vendor:publish --tag="rich-editor-fullscreen-assets"
The main CSS classes you can customize:
.fi-fo-rich-editor.fullscreen
- The main fullscreen container.fi-fo-rich-editor.fullscreen .ProseMirror
- The editor content area.fi-fo-rich-editor.fullscreen .fi-fo-rich-editor-toolbar
- The toolbar in fullscreen modePlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
I am a web and application programmer. Currently, I focus primarily on the development of web and desktop applications, API interfaces, and web presentations. My favorite programming languages include PHP (especially the Laravel framework) and JavaScript, or TypeScript. In my free time, I enjoy watching a good TV series or movie.