Download the PHP package abdelhamiderrahmouni/filament-monaco-editor without Composer
On this page you can find all versions of the php package abdelhamiderrahmouni/filament-monaco-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abdelhamiderrahmouni/filament-monaco-editor
More information about abdelhamiderrahmouni/filament-monaco-editor
Files in abdelhamiderrahmouni/filament-monaco-editor
Package filament-monaco-editor
Short Description A monaco editor form field for filamentphp.
License MIT
Homepage https://github.com/abdelhamiderrahmouni/filament-monaco-editor
Informations about the package filament-monaco-editor
A Monaco Editor form field.
This package provides a Monaco editor field for FilamentPHP.
Demo
Installation
You can install the package via composer:
You can publish the config file with:
Optionally, you can publish the views using
This is the contents of the published config file:
Usage
You can use this field with minimal configuration like this:
You can change the theme of the editor by using the theme
method:
Add Scripts and Styles to preview's head element
Add attributes to the preview's body element
Add content to the start of the preview's body element
Add content to the end of the preview's body element
You can Disable preview code functionality by method or in the config
You can show/hide the full screen button by method or in the config
Show/Hide The loader
Show/Hide the placeholder
Customize placeholder's text
change the font-size of the editor
Customization
You can use your own theme by customizing the themes array in filament-monaco-editor.php
config file:
Testing
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
Thanks to PinesUI for the Monaco editor component and the DevDojo team for their dedication and contribution to open source projects.
- Abdelhamid Errahmouni
- All Contributors
License
The MIT License (MIT). Please see License File for more information.