Skip to content

Commit

Permalink
Fix: heading indicator focus states
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed Nov 22, 2023
1 parent 3c37e96 commit 49fb756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/tools/heading.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
label="{{ __('filament-tiptap-editor::editor.heading.label') }}"
active="heading"
icon="heading"
indicator="editor().isActive('heading', updatedAt) ? editor().getAttributes('heading').level : null"
indicator="editor().isActive('heading', updatedAt) && editor().isFocused ? editor().getAttributes('heading').level : null"
:list="false"
>
<x-filament-tiptap-editor::button
Expand Down

0 comments on commit 49fb756

Please sign in to comment.