Skip to content

Commit

Permalink
Add CSS hook class for rich editor toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfietje committed Oct 10, 2023
1 parent 1987b89 commit d227c09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class="fi-fo-rich-editor fi-disabled prose block w-full max-w-none rounded-lg bg
<trix-toolbar
id="trix-toolbar-{{ $id }}"
@class([
'relative flex flex-col gap-x-3 border-b border-gray-100 px-2.5 py-2 dark:border-white/10',
'fi-fo-rich-editor-toolbar relative flex flex-col gap-x-3 border-b border-gray-100 px-2.5 py-2 dark:border-white/10',
'hidden' => ! count($getToolbarButtons()),
])
>
Expand Down

0 comments on commit d227c09

Please sign in to comment.