mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🐛 表格内粘贴代码块
This commit is contained in:
parent
85e19e6791
commit
4696f72522
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false) =>
|
|||
}
|
||||
}
|
||||
}
|
||||
if (tableElement) {
|
||||
if (tableElement && !isBlock) {
|
||||
html = protyle.lute.BlockDOM2InlineBlockDOM(html);
|
||||
}
|
||||
let blockElement = hasClosestBlock(range.startContainer) as Element;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue