Skip to content

[pull] development from BookStackApp:development#109

Merged
pull[bot] merged 10 commits intokkpan11:developmentfrom
BookStackApp:development
May 29, 2025
Merged

[pull] development from BookStackApp:development#109
pull[bot] merged 10 commits intokkpan11:developmentfrom
BookStackApp:development

Conversation

@pull
Copy link

@pull pull bot commented May 29, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

ssddanbrown and others added 10 commits May 25, 2025 13:21
Fixes issues where drawings could not be removed via backspace or
delete.
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).
Updated up/down handling to create where a selection candidate does not
exist, to apply to a wider scenario via the selectPrevious/Next methods.

Updated DOM selection change handling to identify single selections
within decorated nodes to select them in full, instead of losing
selection due to partial selection of their contents.

Updated table selection handling so that our colgroups are ignored for
internal selection focus handling.
Also fixed some resizer zindex issues.
Specifically added to align with existing TinyMCE behaviour which was
used by some users based upon new editor feedback.
Avoids misuse of selectPrevious/Next as per prior commit which was then
causing problems elsewhere, and is probably best to avoid creation in
those select methods anyway.
- Fixed errors with selection and range handling due to captions
  existing.
- Updated TableNode change handling to update existing DOM instead of
  re-creating, which avoids breaking an attached selection helper.
  - To support, Added function to handle node change detection and apply
    relevant dom updates for common properties.
@pull pull bot added the ⤵️ pull label May 29, 2025
@pull pull bot merged commit 68df43e into kkpan11:development May 29, 2025
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant