From a7418590607fc97600a733b04eccecb70c770883 Mon Sep 17 00:00:00 2001 From: Shivam Shukla Date: Thu, 9 Jul 2026 15:44:16 +0530 Subject: [PATCH] fix(editor): restore native browser zoom keyboard shortcuts Signed-off-by: Shivam Shukla --- public/docs/release-notes.md | 5 +++++ public/js/lib/editor/index.js | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/public/docs/release-notes.md b/public/docs/release-notes.md index 4d55b957..6ede171b 100644 --- a/public/docs/release-notes.md +++ b/public/docs/release-notes.md @@ -7,6 +7,11 @@ - Added external link whitelist setting (`externalLinkWhitelist` in config.json or `CMD_EXTERNAL_LINK_WHITELIST`) to skip warning page for certain domains - Enabled `.webp` for file uploads (for all backends but `imgur`, since it does not support it) +### Bugfixes + +- Restore native browser zoom-in keyboard shortcuts in the editor ([#6244](https://github.com/hedgedoc/hedgedoc/issues/6244)) + + ## 1.11.0 2026-06-18 ### Security fixes diff --git a/public/js/lib/editor/index.js b/public/js/lib/editor/index.js index da2aafe2..98f69542 100644 --- a/public/js/lib/editor/index.js +++ b/public/js/lib/editor/index.js @@ -197,15 +197,6 @@ export default class Editor { 'Shift-Ctrl-6': cm => { utils.wrapTextWith(this.editor, cm, '^') }, - 'Ctrl-+': cm => { - utils.wrapTextWith(this.editor, cm, '+') - }, - 'Shift-Ctrl-=': cm => { - utils.wrapTextWith(this.editor, cm, '+') - }, - 'Ctrl-=': cm => { - utils.wrapTextWith(this.editor, cm, '=') - }, 'Shift-Ctrl-Backspace': cm => { utils.wrapTextWith(this.editor, cm, 'Backspace') }