🎨 Improve doc title Paste as plain text
Fix https://github.com/siyuan-note/siyuan/issues/10866
This commit is contained in:
parent
6801b9e373
commit
51df73d8b1
1 changed files with 2 additions and 0 deletions
|
@ -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("/");
|
||||
|
|
Loading…
Add table
Reference in a new issue