mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user