🎨 面包屑可能出现光标插入符
This commit is contained in:
parent
b6ea32462e
commit
3cfe083ed9
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ import (
|
|||
|
||||
"github.com/88250/gulu"
|
||||
"github.com/88250/lute/ast"
|
||||
"github.com/88250/lute/editor"
|
||||
"github.com/88250/lute/parse"
|
||||
"github.com/siyuan-note/logging"
|
||||
"github.com/siyuan-note/siyuan/kernel/sql"
|
||||
|
@ -283,6 +284,7 @@ func buildBlockBreadcrumb(node *ast.Node, excludeTypes []string) (ret []*BlockPa
|
|||
}
|
||||
}
|
||||
|
||||
name = strings.ReplaceAll(name, editor.Caret, "")
|
||||
if add {
|
||||
ret = append([]*BlockPath{{
|
||||
ID: id,
|
||||
|
|
Loading…
Add table
Reference in a new issue