sebastiaankloos/filament-code-editor

This package is abandoned and no longer maintained. No replacement package was suggested.

Code editor for Filament

1.1.5 2023-04-06 19:34 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package provides a code editor form field type for Filament. It's based on CodeMirror 6.

Installation

You can install the package via composer:

composer require sebastiaankloos/filament-code-editor

Usage

use SebastiaanKloos\FilamentCodeEditor\Components\CodeEditor;

CodeEditor::make('custom_css'),

If you are using this package without Filament Admin, you should add the JS file manually.

// You can add this to your app.js file
require('../../vendor/sebastiaankloos/filament-code-editor/dist/filament-tools');

Testing

composer test

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.