mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Improve doc title Paste as plain text Fix https://github.com/siyuan-note/siyuan/issues/10866
This commit is contained in:
@@ -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("/");
|
||||
|
||||
Reference in New Issue
Block a user