mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-24 07:45:57 +02:00
v1.1.3 - Line numbers scroll fix, source mode undo/redo, Ctrl+K links, hard break fixes
- Line numbers scroll fix: source mode line numbers now scroll properly with content - Source mode undo/redo: custom history stack for Ctrl+Z / Ctrl+Shift+Z in markdown mode - Shift+Enter hard breaks in source mode (inserts trailing spaces + newline) - Ctrl+K link shortcut: global keybinding for inserting/editing links - Link modal improvements: auto-prepends https://, preserves selection range - Hard break serialization fix: trailing spaces preserved in markdown output - Drag prevention: prevents native text drag (copy-instead-of-move issue in Tauri webview)
This commit is contained in:
@@ -170,6 +170,10 @@
|
||||
e.preventDefault();
|
||||
editor?.forceSave();
|
||||
}
|
||||
if (mod && e.key === 'k' && !e.shiftKey && $activeNotePath && !$sourceMode) {
|
||||
e.preventDefault();
|
||||
editor?.addLinkFromToolbar();
|
||||
}
|
||||
if (mod && e.shiftKey && e.key === 'M') {
|
||||
e.preventDefault();
|
||||
$sourceMode = !$sourceMode;
|
||||
|
||||
Reference in New Issue
Block a user