This commit is contained in:
parent
347d4c7554
commit
fdd2cefee3
1 changed files with 3 additions and 0 deletions
|
@ -176,6 +176,9 @@ export class WYSIWYG {
|
|||
if (inputData === "<" || inputData === ">") {
|
||||
// 使用 inlineElement.innerHTML 会出现 https://ld246.com/article/1627185027423 中的第2个问题
|
||||
dataLength = 4;
|
||||
} else if (inputData === "&") {
|
||||
// https://github.com/siyuan-note/siyuan/issues/12239
|
||||
dataLength = 5;
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/5924
|
||||
if (currentTypes.length > 0 && range.toString() === "" && range.startOffset === inputData.length &&
|
||||
|
|
Loading…
Add table
Reference in a new issue