mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 19:10:49 +08:00
🚨
This commit is contained in:
parent
20881abfe2
commit
f2f5f7af0c
@ -901,9 +901,9 @@ ${genHintItemHTML(item)}
|
||||
let currentLastIndex = currentLineValue.lastIndexOf(item.key);
|
||||
// https://ld246.com/article/1701670704754
|
||||
if (Constants.BLOCK_HINT_KEYS.includes(item.key) && currentLastIndex > -1) {
|
||||
const thirdLastIndex = currentLineValue.lastIndexOf(item.key + item.key.substring(0, 1))
|
||||
const thirdLastIndex = currentLineValue.lastIndexOf(item.key + item.key.substring(0, 1));
|
||||
if (thirdLastIndex > -1) {
|
||||
currentLastIndex = Math.min(currentLastIndex, currentLineValue.lastIndexOf(item.key + item.key.substring(0, 1)))
|
||||
currentLastIndex = Math.min(currentLastIndex, currentLineValue.lastIndexOf(item.key + item.key.substring(0, 1)));
|
||||
}
|
||||
}
|
||||
if (this.lastIndex < currentLastIndex) {
|
||||
|
Loading…
Reference in New Issue
Block a user