filament-code-editor icon indicating copy to clipboard operation
filament-code-editor copied to clipboard

Code editor for Filament

Results 10 filament-code-editor issues
Sort by recently updated
recently updated
newest added

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @​takost in actions/checkout#1436 Support fetching without the --progress option...

Hi, I followed the installation and usage steps but I'm getting the error `No hint path defined for [filament-code-editor].` Here's the way I'm calling the field: ```php ... CodeEditor::make('my_field'), ......

I have a textarea input and I want to fill with settings data from database but I can't use default method `Forms\Components\Textarea::make('api_key')->required()->default('api key .....'),`

I am trying to install this package. I am using PHP 8.0.21. It says it requires PHP 8.1. How can we make it work with php 8.0? ![unknown (1)](https://user-images.githubusercontent.com/7912330/180632674-e2184276-b7f1-4146-875f-9c1ef7e2e120.png)

This PR adds a second JS build, which is built in the same way as filaments forms and notifications JS bundle are built.

Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 1 to 2. Release notes Sourced from ramsey/composer-install's releases. 2.0.0 Added Use --prefer-stable with lowest dependencies (#178) Allow use of a custom cache key (#167) Allow ability...

Filament::serving should be called from boot instead of registering.

Currently this field is very hard to see in dark mode, if this could be patched, it will be great!

Still editable despite ->disabled() being used i can still edit the code editor field despite ->disabled() being used

As per discussed, to be able to load in JSON you'll need to do like this: ```php CodeEditor::make('metadata')->afterStateHydrated(function ($state, $set) { $set('metadata', json_encode($state)); }) ->dehydrateStateUsing(fn ($state) => (array) json_decode($state)) ->required(),...