]> BookStack Code Mirror - bookstack/commitdiff
Lexical: Updated dropdown handling to match tinymce behaviour
authorDan Brown <redacted>
Sun, 25 May 2025 15:28:42 +0000 (16:28 +0100)
committerDan Brown <redacted>
Sun, 25 May 2025 15:28:42 +0000 (16:28 +0100)
Now toolbars stay open on mouse-out, and close on other toolbar open,
outside click or an accepted action.
To support:
- Added new system to track and manage open dropdowns.
- Added way for buttons to optionally emit events upon actions.
- Added way to listen for events.
- Used the above to control when dropdowns should hide on action, since
  some dont (like overflow containers and split dropdown buttons).


No differences found