androsamp/filament-rich-editor-textcolor

Filament Rich Editor text color plugin (TipTap) for FilamentPHP.
1,241 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

oliwol/filament-rich-editor-heroicons

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

2,134 4
awcodes/filament-badgeable-column

Filament Tables column to append and prepend badges.

563,138 145
awcodes/filament-tiptap-editor

A Tiptap integration for Filament Admin/Forms.

998,996 410
awcodes/filament-table-repeater

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

926,500 265
pboivin/filament-peek

Full-screen page preview modal for Filament

406,252 252