mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
This commit is contained in:
parent
639431e70d
commit
330da59c6f
1 changed files with 1 additions and 3 deletions
|
|
@ -542,10 +542,8 @@ ${genHintItemHTML(item)}
|
||||||
|
|
||||||
if (this.lastIndex > -1) {
|
if (this.lastIndex > -1) {
|
||||||
range.setStart(range.startContainer, this.lastIndex);
|
range.setStart(range.startContainer, this.lastIndex);
|
||||||
if (isIPhone()) {
|
|
||||||
focusByRange(range);
|
focusByRange(range);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// 新建文件
|
// 新建文件
|
||||||
if (Constants.BLOCK_HINT_KEYS.includes(this.splitChar) && value.startsWith("((newFile ") && value.endsWith(`${Lute.Caret}'))`)) {
|
if (Constants.BLOCK_HINT_KEYS.includes(this.splitChar) && value.startsWith("((newFile ") && value.endsWith(`${Lute.Caret}'))`)) {
|
||||||
const fileNames = value.substring(11, value.length - 4).split(`"${Constants.ZWSP}'`);
|
const fileNames = value.substring(11, value.length - 4).split(`"${Constants.ZWSP}'`);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue