mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 18:00:15 +01:00
This commit is contained in:
parent
c0c6cfb633
commit
ac4f358b4b
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (blockElement.classList.contains("av")) {
|
if (blockElement.classList.contains("av") && !isBlock) {
|
||||||
range.deleteContents();
|
range.deleteContents();
|
||||||
processAV(range, html, protyle, blockElement as HTMLElement);
|
processAV(range, html, protyle, blockElement as HTMLElement);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue