Vanessa 2025-03-11 11:58:19 +08:00
parent cf78303ee8
commit 8d24e0bf25
4 changed files with 24 additions and 20 deletions

View file

@ -282,6 +282,7 @@ const processTable = (range: Range, html: string, protyle: IProtyle, blockElemen
export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,
// 移动端插入嵌入块时,获取到的 range 为旧值
useProtyleRange = false,
// 在开头粘贴块则插入上方
insertByCursor = false) => {
if (html === "") {
return;