mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-05 04:22:29 +08:00
This commit is contained in:
parent
9b815d9613
commit
b75b26fea3
@ -970,7 +970,10 @@ ${genHintItemHTML(item)}
|
|||||||
}
|
}
|
||||||
const lineArray = currentLineValue.split(this.splitChar);
|
const lineArray = currentLineValue.split(this.splitChar);
|
||||||
const lastItem = lineArray[lineArray.length - 1];
|
const lastItem = lineArray[lineArray.length - 1];
|
||||||
if (lineArray.length > 1 && lastItem.trim() === lastItem && lastItem.length < Constants.SIZE_TITLE) {
|
if (lineArray.length > 1 &&
|
||||||
|
// https://github.com/siyuan-note/siyuan/issues/10637
|
||||||
|
lastItem.trimStart() === lastItem &&
|
||||||
|
lastItem.length < Constants.SIZE_TITLE) {
|
||||||
// 输入法自动补全 https://github.com/siyuan-note/insider/issues/100
|
// 输入法自动补全 https://github.com/siyuan-note/insider/issues/100
|
||||||
if (this.splitChar === "【【" && currentLineValue.endsWith("【【】")) {
|
if (this.splitChar === "【【" && currentLineValue.endsWith("【【】")) {
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
Reference in New Issue
Block a user