fix(editor): restore native browser zoom keyboard shortcuts

Signed-off-by: Shivam Shukla <lucifer84670@gmail.com>
This commit is contained in:
Shivam Shukla
2026-07-09 15:44:16 +05:30
committed by Philip Molares
parent f6c1feb26f
commit a741859060
2 changed files with 5 additions and 9 deletions

View File

@@ -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 - 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) - 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))
## <i class="fa fa-tag"></i> 1.11.0 <i class="fa fa-calendar-o"></i> 2026-06-18 ## <i class="fa fa-tag"></i> 1.11.0 <i class="fa fa-calendar-o"></i> 2026-06-18
### Security fixes ### Security fixes

View File

@@ -197,15 +197,6 @@ export default class Editor {
'Shift-Ctrl-6': cm => { 'Shift-Ctrl-6': cm => {
utils.wrapTextWith(this.editor, 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 => { 'Shift-Ctrl-Backspace': cm => {
utils.wrapTextWith(this.editor, cm, 'Backspace') utils.wrapTextWith(this.editor, cm, 'Backspace')
} }