discourse/plugins/checklist/assets
Renato Atilio 97bf164592
FEATURE: consolidate composer toolbar list and add check list (#37336)
This PR merges the bulleted and numbered list buttons into a single
Lists dropdown menu in the composer toolbar and introduces a new
checklist option to the dropdown.

 * Combines individual list buttons into a single "Lists" dropdown
* Adds a new checklist option within the list menu (integrated via the
checklist plugin)
 * ProseMirror/Rich Editor:
* Added logic for checklist continuation on Enter and exit on double
Enter
* Implemented Backspace handling to manage checkbox removal and line
joining
* Added cursor positioning constraints to prevent selection before the
checkbox
     * Added handler to toggle the check when clicked

Updated `addComposerToolbarPopupMenuOption` to allow plugins to register
custom options specifically within a popup menu through its identifier

<img width="467" height="190" alt="image"
src="https://github.com/user-attachments/assets/91205405-3d6f-4e04-85f5-800e6b9d95b4"
/>
2026-02-24 10:08:34 -03:00
..
javascripts FEATURE: consolidate composer toolbar list and add check list (#37336) 2026-02-24 10:08:34 -03:00
stylesheets FEATURE: consolidate composer toolbar list and add check list (#37336) 2026-02-24 10:08:34 -03:00