You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Filament v4 and trying to extend the RichEditor to include additional heading levels (h4 and h5).
Currently, when I try to add these to the toolbar like this:
Checked the official Filament documentation — only h1, h2, and h3 are supported out of the box.
Tried adding an extra extension or plugin to support h4 and h5, but couldn’t find a clean solution.
Created a custom plugin to toggle TipTap heading levels 4 and 5, but it feels more like a workaround than an intended solution.
My goal
I want to allow content editors to insert H4 and H5 headings directly from the RichEditor toolbar — just like H1, H2, and H3.
Questions
Is there a built-in way to extend the heading levels in Filament v4's RichEditor?
If not, could support for h4 and h5 be added to the core so they can be used without custom plugins?
Environment
Filament: v4.x
Laravel: v12.x
PHP: v8.4
Browser: Tested on latest Chrome and Firefox
Example Use Case
Content-heavy applications like blogs, documentation systems, or marketing websites often require deeper heading structures for SEO and accessibility.
Having h4 and h5 available out of the box would make the RichEditor much more flexible.
Additional Context
Since TipTap already supports headings up to level 6, it seems like this would just need to be exposed in Filament's RichEditor toolbar configuration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem
I'm using Filament v4 and trying to extend the
RichEditor
to include additional heading levels (h4
andh5
).Currently, when I try to add these to the toolbar like this:
I get the following error:
What I’ve tried
h1
,h2
, andh3
are supported out of the box.h4
andh5
, but couldn’t find a clean solution.My goal
I want to allow content editors to insert H4 and H5 headings directly from the
RichEditor
toolbar — just likeH1
,H2
, andH3
.Questions
RichEditor
?h4
andh5
be added to the core so they can be used without custom plugins?Environment
Example Use Case
Content-heavy applications like blogs, documentation systems, or marketing websites often require deeper heading structures for SEO and accessibility.
Having
h4
andh5
available out of the box would make theRichEditor
much more flexible.Additional Context
Since TipTap already supports headings up to level 6, it seems like this would just need to be exposed in Filament's
RichEditor
toolbar configuration.Thanks for your amazing work on Filament! 🙌
Beta Was this translation helpful? Give feedback.
All reactions