PHPackages                             androsamp/filament-rich-editor-highlight - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. androsamp/filament-rich-editor-highlight

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

androsamp/filament-rich-editor-highlight
========================================

Filament Rich Editor highlight plugin (TipTap) for FilamentPHP.

v1.0.1(2d ago)213MITPHPPHP ^8.1

Since Mar 19Pushed 2d agoCompare

[ Source](https://github.com/AndroSamp-it/filament-rich-editor-highlight)[ Packagist](https://packagist.org/packages/androsamp/filament-rich-editor-highlight)[ RSS](/packages/androsamp-filament-rich-editor-highlight/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

filament-rich-editor-highlight
==============================

[](#filament-rich-editor-highlight)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7ea9294a17b709c6b2fd58456937fa5c1e0a6746a3fc2b650a323e1042b3c4e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e64726f73616d702f66696c616d656e742d726963682d656469746f722d686967686c696768742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/androsamp/filament-rich-editor-highlight)[![Total Downloads](https://camo.githubusercontent.com/2a8ad9da4cf6de6c0e5ddacc378d36644c3acba4ebb7754a13d6c98b50f96edd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e64726f73616d702f66696c616d656e742d726963682d656469746f722d686967686c696768742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/androsamp/filament-rich-editor-highlight)

A Filament Rich Editor plugin that adds text highlight color selection (``) powered by TipTap.

Features
--------

[](#features)

- Adds the `highlightColorPicker` tool to the editor toolbar.
- Opens a modal with a `ColorPicker` to choose highlight color.
- Registers a TipTap JS extension with multicolor highlight support.
- Renders highlighted content correctly through `RichContentRenderer`.

Requirements
------------

[](#requirements)

- PHP `^8.1`
- `filament/forms` `^4.0|^5.0`

Installation
------------

[](#installation)

```
composer require androsamp/filament-rich-editor-highlight
```

If you are developing the package locally:

```
cd packages/custom-rich-editor-highlight
npm install
npm run build
```

Usage
-----

[](#usage)

After installation, the package service provider automatically registers the plugin for `RichEditor`.

To show the button in the UI, include `highlightColorPicker` in your toolbar configuration:

```
use Filament\Forms\Components\RichEditor;

RichEditor::make('content')
    ->toolbarButtons([
        'bold',
        'italic',
        'highlightColorPicker',
    ]);
```

For `floatingToolbars`:

```
RichEditor::make('content')
    ->floatingToolbars([
        'paragraph' => [
            'highlightColorPicker',
        ],
    ]);
```

Content Rendering
-----------------

[](#content-rendering)

The plugin is also automatically registered for `RichContentRenderer`, so highlighted HTML is rendered correctly:

```
use Filament\Forms\Components\RichEditor\RichContentRenderer;

$html = RichContentRenderer::make($post->content)->toHtml();
```

Localization
------------

[](#localization)

The package includes translations for the button label and modal heading.

Available keys:

```
'filament-rich-editor-highlight::highlight.label'
'filament-rich-editor-highlight::highlight.modal_heading'
```

Publish translations:

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

Published files path: `resources/lang/vendor/filament-rich-editor-highlight`.

Build and Assets
----------------

[](#build-and-assets)

After changing the JS part of the plugin:

```
cd packages/custom-rich-editor-highlight
npm run build
```

If you need to publish Filament assets:

```
php artisan filament:assets
```

License
-------

[](#license)

MIT

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance99

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63e972cff7469d325144c71231247f2d15150195087910a68aedd041a3c29e19?d=identicon)[AndroSamp-it](/maintainers/AndroSamp-it)

---

Top Contributors

[![AndroSamp-it](https://avatars.githubusercontent.com/u/192169616?v=4)](https://github.com/AndroSamp-it "AndroSamp-it (4 commits)")

---

Tags

pluginlaraveltiptapcolorhighlightfilamentfilamentphprich editor

### Embed Badge

![Health badge](/badges/androsamp-filament-rich-editor-highlight/health.svg)

```
[![Health](https://phpackages.com/badges/androsamp-filament-rich-editor-highlight/health.svg)](https://phpackages.com/packages/androsamp-filament-rich-editor-highlight)
```

###  Alternatives

[awcodes/filament-table-repeater

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

260787.4k4](/packages/awcodes-filament-table-repeater)[pboivin/filament-peek

Full-screen page preview modal for Filament

250298.5k10](/packages/pboivin-filament-peek)[awcodes/filament-badgeable-column

Filament Tables column to append and prepend badges.

142388.7k3](/packages/awcodes-filament-badgeable-column)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124126.5k2](/packages/dotswan-filament-map-picker)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12146.8k](/packages/jibaymcs-filament-tour)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3211.0k](/packages/defstudio-filament-searchable-input)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
