mdobes/rich-editor-fullscreen
最新稳定版本:1.2.0
Composer 安装命令:
composer require mdobes/rich-editor-fullscreen
包简介
Fullscreen functionality for Filament V4 Rich Editor
README 文档
README
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.
Installation
You can install the package via composer:
composer require mdobes/rich-editor-fullscreen
Usage
Once installed, the fullscreen functionality is automatically available in all Rich Editor components. The plugin registers itself globally, so no additional configuration is needed.
Basic Usage
The plugin automatically adds the fullscreen button to your Rich Editor toolbar:
use Filament\Forms\Components\RichEditor; RichEditor::make('content') ->toolbarButtons([ 'fullscreen', ])
Keyboard Shortcuts
Cmd + Shift + F(Mac) orCtrl + Shift + F(Windows/Linux): Toggle fullscreen modeEsc: Exit fullscreen mode
Screenshots
Customization
CSS Customization
You 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 mode
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 3.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04
