schmeits/filament-character-counter
RichEditor Character Counting - Complete refactor:
HasCharacterLimit Trait:
$el.querySelector() for DOM-based character counting.fi-fo-rich-editor-wrapper CSS class for proper spacingCI/CD Improvements:
Tested and working in:
All components (TextInput, Textarea, RichEditor) working correctly in both versions.
Added Filament v5 support (Livewire v4 compatible)
^4.0 and ^5.0 versionsFilament\Forms\Form → Filament\Schemas\Schema)maxLength now properly enforces limit even when pasting or programmatic updates (Alpine.js watcher added)Updated readme
First beta release for Filament 4
New : Added French translation (thanks to @tgeorgel)
Fix: The showInsideControl was missing from the Textarea (Thanks @CharlieEtienne for the PR)
Updated:
updated rich-editor.blade.php
updated textarea.blade.php
Changed: Updated README with new RichEditor support
New: Added Arabic language (thanks to Omar @devOMAR-2) New: Added RichEditor support
Fix: Respect maxLength in combination with characterLimit
fix: typo in translation for the dutch variant of characters
Fixed a bug if you use ->live() on the Fields, the counter would stutter and the character count was not correct.
Added the option to show the counter in the component (default is outside the component)
Fix: Placed helper in correct section
characterLimit() is now a soft limit again (#36): characterLimit() no longer enforces HTML maxlength or validation. Use maxLength() for hard enforcement, or combine both.
Fixed test suite (removed obsolete BladeCaptureDirective dependency)
Fixed PHPStan config (removed deprecated options)
How can I help you explore Laravel packages today?