This commit is contained in:
parent
68679fa90a
commit
755ad603fc
1 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,8 @@ const genUploadedLabel = (responseText: string, protyle: IProtyle) => {
|
|||
range.setEndAfter(range.startContainer.parentElement);
|
||||
range.collapse(false);
|
||||
}
|
||||
insertHTML(succFileText, protyle);
|
||||
// 避免插入代码块中,其次因为都要独立成块 https://github.com/siyuan-note/siyuan/issues/7607
|
||||
insertHTML(succFileText, protyle, true);
|
||||
};
|
||||
|
||||
export const uploadLocalFiles = (files: string[], protyle: IProtyle, isUpload: boolean) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue