androsamp/filament-rich-editor-textcolor

Filament Rich Editor text color plugin (TipTap) for FilamentPHP.
1,953 1
Install
composer require androsamp/filament-rich-editor-textcolor
Latest Version:v1.3.1
PHP:^8.1
Laravel:11 · 12 · 13
License:MIT
Last Updated:Mar 19, 2026
Links: GitHub  ·  Packagist
Maintainer: AndroSamp-it

filament-rich-editor-textcolor

Latest Version on Packagist Total Downloads

Plugin for Filament Rich Editor: text color selection (TipTap/ProseMirror).

Installation

composer require androsamp/filament-rich-editor-textcolor

Usage

->toolbarButtons(['textColorPicker'])
->floatingToolbars([
    'paragraph' => [
        'textColorPicker'
    ]
])

Rendering:

use Filament\Forms\Components\RichEditor\RichContentRenderer;

// Fetch the post and its content
$post = Post::first();

// Render the content using Filament's RichContentRenderer
$renderer = RichContentRenderer::make($post->content);

// $renderer now contains the final HTML with text color support

Localization

The package includes translations for English and Russian languages. The translations are automatically loaded when the package is installed.

Available Translation Keys

'filament-rich-editor-textcolor::text-color.label' // Button label
'filament-rich-editor-textcolor::text-color.modal_heading' // Modal heading

Publishing Translations

To customize the translations, you can publish them to your project:

php artisan vendor:publish --tag=filament-rich-editor-textcolor-translations

This will copy the translation files to resources/lang/vendor/filament-rich-editor-textcolor/.

Supported Languages

  • English (en) - Default
  • Russian (ru)

License

MIT

Related Packages

kisame76/filament-advanced-rich-editor

A drop-in Filament v5 RichEditor with a toolbar you arrange yourself, plus callo...

2,292 11
oliwol/filament-rich-editor-heroicons

A seamless integration for Filament v4/v5 that allows users to insert Heroicons...

9,189 4
gabriel2m/filament-starter-kit

Skeleton application for Filament.

8 0
nhanchaukp/filament-copyactions

A easy-to-use copy actions for Filament Admin.

872 1
apility/filament-intercom

A Filament plugin for Intercom

262 1

Version History

Version Released PHP License
v1.3.1 ^8.1 MIT
v1.3.0 ^8.1 MIT
v1.2.1 ^8.1 MIT
v1.2.0 ^8.1 MIT
v1.1.1 ^8.1 MIT