Skip to content

Commit e222355

Browse files
feat(package): update description and enhance Ace Editor integration
Update package description to highlight Ace code editor integration with configurable modes and themes. Adjust documentation to reflect updated usage and configuration.
1 parent ff3b994 commit e222355

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/jeffersongoncalves/filament-ace-editor-field/fix-php-code-style-issues.yml?branch=master&label=code%20style&style=flat-square)](https://github.com/jeffersongoncalves/filament-ace-editor-field/actions?query=workflow%3A"Fix+PHP+code+styling"+branch%3Amaster)
1111
[![Total Downloads](https://img.shields.io/packagist/dt/jeffersongoncalves/filament-ace-editor-field.svg?style=flat-square)](https://packagist.org/packages/jeffersongoncalves/filament-ace-editor-field)
1212

13-
A Laravel Filament package that provides QR Code field functionality for your web applications. This package extends Filament v4 with a simple QR code input component.
13+
A Laravel Filament v4 field that integrates the Ace code editor into your forms, offering a rich, syntax-highlighted code editing experience with configurable modes and themes.
1414

1515
## Requirements
1616

@@ -27,13 +27,17 @@ composer require jeffersongoncalves/filament-ace-editor-field
2727

2828
## Usage
2929

30-
Once installed, you can use the Ace EditorInput component in your Filament forms:
30+
Once installed, you can use the AceEditorInput component in your Filament forms:
3131

3232
```php
3333
use JeffersonGoncalves\Filament\AceEditorField\Forms\Components\AceEditorInput;
3434

3535
// In your form definition
36-
AceEditorInput::make('ace editor')
36+
AceEditorInput::make('description')
37+
->mode('html')
38+
->theme('monokai')
39+
->height(200)
40+
->placeholder('Enter your description here')
3741
->required(),
3842
```
3943

65.2 KB
Loading

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jeffersongoncalves/filament-ace-editor-field",
3-
"description": "A Laravel Filament package that provides QR Code field functionality for your web applications. This package extends Filament v3 with a simple QR code input component.",
3+
"description": "A Laravel Filament v4 field that integrates the Ace code editor into your forms, providing a rich, syntax‑highlighted code editing experience.",
44
"keywords": [
55
"jeffersongoncalves",
66
"laravel",

phpstan.neon.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,3 @@ parameters:
88
tmpDir: build/phpstan
99
checkOctaneCompatibility: true
1010
checkModelProperties: false
11-
ignoreErrors:
12-
-
13-
identifier: property.defaultValue

src/AceEditorFieldServiceProvider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ protected function getAssetPackageName(): ?string
3030
{
3131
return 'jeffersongoncalves/filament-ace-editor-field';
3232
}
33+
3334
protected function getAssets(): array
3435
{
3536
return [
36-
AlpineComponent::make('filament-ace-editor-field', __DIR__ . '/../resources/dist/filament-ace-editor-field.js'),
37-
Css::make('filament-ace-editor-field', __DIR__ . '/../resources/dist/filament-ace-editor-field.css'),
37+
AlpineComponent::make('filament-ace-editor-field', __DIR__.'/../resources/dist/filament-ace-editor-field.js'),
38+
Css::make('filament-ace-editor-field', __DIR__.'/../resources/dist/filament-ace-editor-field.css'),
3839
];
3940
}
4041
}

0 commit comments

Comments
 (0)