clean file content handling

This commit is contained in:
marlon-erler
2026-09-22 20:11:40 +02:00
parent 959bee2c06
commit 3a2569b24e
6 changed files with 90 additions and 80 deletions
+2
View File
@@ -49,7 +49,9 @@ export default class CoreViewModel {
};
handleKeyDown = (e: KeyboardEvent): void => {
if (!(e instanceof KeyboardEvent)) return console.trace("NOT A KEY EVENT");
if (CoreViewModel.checkIsKeystroke(e) == false) return;
console.log(e.key);
e.preventDefault();
const contexts: Context[] = this.contexts;
while (contexts.length > 0) {