Skip to content

fix: disabling shortcut for links when not editing html - #13364

Open
madbob wants to merge 1 commit into
nextcloud:mainfrom
madbob:issue_7641
Open

fix: disabling shortcut for links when not editing html#13364
madbob wants to merge 1 commit into
nextcloud:mainfrom
madbob:issue_7641

Conversation

@madbob

@madbob madbob commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Even when formatting options of TextEditor are disabled, the keyboard shortcut to add links (Ctrl+K) is enabled. But, for some reason I've not entirely understood, the floating modal to insert the link is totally unusable and cannot be edited.

This PR disables the "link" command and, consequently, the opening of the sub-modal. The user who wants to add a link have to explicitely enable rich formatting (or "accidentally" enable it, for example using a mention, which is unaffected by this change).

Fixes #7641

Please note that this do not explicitely targets similar issue related to the sometimes breaking link sub-modal, as #9605 and #10977.

Signed-off-by: Roberto Guido <info@madbob.org>
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.

Adding/editing a link to a message or signature doesn't work

1 participant