Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(inline-tools): inline tools shortcuts now works in read-only mode #2891

Merged
merged 2 commits into from
Dec 21, 2024

Conversation

neSpecc
Copy link
Member

@neSpecc neSpecc commented Dec 18, 2024

Problem

Inline Tools (with isReadOnlySupported=true) shortcuts does not work in the Read-Only mode

Cause

Their shortcut was bound to Ui.nodes.redactor, but in Read-Only mode this element is not focused, since there is no focus at all.

Solution

Now we bind Inline Tools shortcuts to the document

@neSpecc neSpecc merged commit 6893462 into next Dec 21, 2024
6 checks passed
@neSpecc neSpecc deleted the inline-tools-readonly-shortcuts branch December 21, 2024 08:28
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.

1 participant