Skip to content

Conversation

@zoltanhosszu
Copy link
Contributor

This PR changes a few behaviors around attachments, focusing on mostly UX improvements.

@jorgemanrubia would love your input on these! 91f4388 especially seems like a lot of code to fix some weirdness around the up/down arrow interaction, so maybe you have a better approach for that issue?

When there is an attachment between multiline paragraphs, the up/down arrow behaved unexpectedly: no matter where the cursor was in the paragraph, up/down selected the previous/next attachment, instead of moving within the paragraph.

These changes fix that issue.
This change fixes a bug where an attachment was kept in a selected state, even if the cursor moved. Now node selection and selected classes are synchronized.
This change ensures a user can click above and below an attachment to start typing.
@zoltanhosszu zoltanhosszu force-pushed the bugfix+attachment-interactions branch from 48b30aa to a6a9023 Compare November 12, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants