androsamp/filament-rich-editor-textcolor

Filament Rich Editor text color plugin (TipTap) for FilamentPHP.
1,549 1
Install
composer require androsamp/filament-rich-editor-textcolor
Latest Version:v1.3.1
PHP:^8.1
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...

649 10
oliwol/filament-rich-editor-heroicons

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

5,347 4
pboivin/filament-peek

Full-screen page preview modal for Filament

463,651 252
awcodes/filament-table-repeater

A modified version of the Filament Forms Repeater to display it as a table.

973,995 267
awcodes/filament-tiptap-editor

A Tiptap integration for Filament Admin/Forms.

1,068,805 410