mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-14 03:04:21 +01:00
This commit is contained in:
parent
c77bb214b4
commit
059ebe1e08
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ export class WYSIWYG {
|
|||
!currentTypes.includes("kbd") &&
|
||||
!currentTypes.includes("tag") &&
|
||||
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")) &&
|
||||
(currentTypes.includes("inline-memo") || currentTypes.includes("block-ref") || currentTypes.includes("file-annotation-ref") || currentTypes.includes("a")) &&
|
||||
!hasNextSibling(range.startContainer) && range.startContainer.textContent.length === range.startOffset &&
|
||||
inlineElement.textContent.length > inputData.length
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue