🎨 Improve doc title Paste as plain text Fix https://github.com/siyuan-note/siyuan/issues/10866

This commit is contained in:
V 2024-04-05 22:09:38 +08:00 committed by Daniel
parent 6801b9e373
commit 51df73d8b1
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -93,6 +93,8 @@ export class Title {
document.execCommand("insertText", false, replaceFileName(content));
this.rename(protyle);
});
event.preventDefault();
event.stopPropagation();
}
if (matchHotKey(window.siyuan.config.keymap.general.enterBack.custom, event)) {
const ids = protyle.path.split("/");