mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 01:08:49 +01:00
🚨
This commit is contained in:
parent
87fc83068c
commit
5d97f532f0
1 changed files with 1 additions and 1 deletions
|
|
@ -1587,7 +1587,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
if (localFiles.length > 0) {
|
||||
let fileText = ""
|
||||
localFiles.forEach((item) => {
|
||||
fileText = `[${pathPosix().basename(item)}](${item})\n`;
|
||||
fileText = `[${pathPosix().basename(item)}](file://${item})\n`;
|
||||
});
|
||||
insertHTML(protyle.lute.SpinBlockDOM(fileText), protyle);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue