Bug description
When using the Bard fieldtype, the toolbar buttons for bulletList and orderedList do not show an active/highlighted state when the cursor is positioned inside a list.
Other toolbar buttons like bold, italic, etc. correctly show as active when the cursor is in text with that formatting applied. The list buttons should behave the same way.
How to reproduce
Steps to reproduce
- Create a Bard field with
bulletList and orderedList enabled
- Type some text and convert it to an unordered or ordered list
- Place the cursor inside the list text
- Observe the toolbar — the list button is not highlighted/active
Expected behavior
The bulletList / orderedList button should appear active (highlighted) when the cursor is inside a list, similar to how the bold button appears active when the cursor is in bold text.
Logs
Environment
- Statamic 6.6.3
- Laravel 12
- PHP 8.3
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
Bug description
When using the Bard fieldtype, the toolbar buttons for
bulletListandorderedListdo not show an active/highlighted state when the cursor is positioned inside a list.Other toolbar buttons like bold, italic, etc. correctly show as active when the cursor is in text with that formatting applied. The list buttons should behave the same way.
How to reproduce
Steps to reproduce
bulletListandorderedListenabledExpected behavior
The
bulletList/orderedListbutton should appear active (highlighted) when the cursor is inside a list, similar to how theboldbutton appears active when the cursor is in bold text.Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response