Skip to content

Conversation

neSpecc
Copy link
Member

@neSpecc neSpecc commented Nov 6, 2024

Problem

When you click on blocks in Read-Only mode, the current block does not update

Cause

We were adding "mousedown" and "touchstart" events (which update current block) only in non-Read-Only mode. However, since we recently allowed developers to create Inline Tools that work in Read-Only mode (#2832), it is now appropriate to update the current block in Read-Only mode as well.

Solution

The “mousedown” and “touchstart” events are now also bound in Read-Only mode.

@neSpecc neSpecc merged commit 7ee0622 into next Nov 6, 2024
6 checks passed
@neSpecc neSpecc deleted the current-block-in-readonly branch November 6, 2024 17:54
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