mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 07:48:49 +01:00
This commit is contained in:
parent
f740842e41
commit
b1ab6ab69a
1 changed files with 1 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ export class WYSIWYG {
|
|||
if (// 表格行内公式之前无法插入文字 https://github.com/siyuan-note/siyuan/issues/3908
|
||||
inlineElement.tagName === "SPAN" &&
|
||||
inlineElement.textContent !== inputData &&
|
||||
!currentTypes.includes("search-mark") && // https://github.com/siyuan-note/siyuan/issues/7586
|
||||
range.toString() === "" && range.startContainer.nodeType === 3 &&
|
||||
(currentTypes.includes("inline-memo") || currentTypes.includes("text") || currentTypes.includes("block-ref") || currentTypes.includes("file-annotation-ref") || currentTypes.includes("a")) &&
|
||||
!hasNextSibling(range.startContainer) && range.startContainer.textContent.length === range.startOffset &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue