mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 08:14:21 +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;
|
||||
}
|
||||
|
||||
if (blockElement.classList.contains("av")) {
|
||||
if (blockElement.classList.contains("av") && !isBlock) {
|
||||
range.deleteContents();
|
||||
processAV(range, html, protyle, blockElement as HTMLElement);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue