mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🚨
This commit is contained in:
parent
436f439dd1
commit
c8ab7693f1
11 changed files with 58 additions and 60 deletions
|
|
@ -107,7 +107,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false, spl
|
|||
}
|
||||
const spinHTML = protyle.lute.SpinBlockDOM(removeEmbed(blockElement));
|
||||
const scrollLeft = blockElement.firstElementChild.scrollLeft;
|
||||
const blockPreviousElement = blockElement.previousElementSibling
|
||||
const blockPreviousElement = blockElement.previousElementSibling;
|
||||
blockElement.outerHTML = spinHTML;
|
||||
render = true;
|
||||
// spin 后变成多个块需后续处理 https://github.com/siyuan-note/insider/issues/451
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue