mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 The line number field no longer appears in the database attribute panel https://github.com/siyuan-note/siyuan/issues/11319
This commit is contained in:
parent
9a544e2a09
commit
c6dca1fe0c
1 changed files with 6 additions and 0 deletions
|
|
@ -379,6 +379,12 @@ func GetBlockAttributeViewKeys(blockID string) (ret []*BlockAttributeViewKeys) {
|
||||||
|
|
||||||
var keyValues []*av.KeyValues
|
var keyValues []*av.KeyValues
|
||||||
for _, kv := range attrView.KeyValues {
|
for _, kv := range attrView.KeyValues {
|
||||||
|
if av.KeyTypeLineNumber == kv.Key.Type {
|
||||||
|
// 属性面板中不显示行号字段
|
||||||
|
// The line number field no longer appears in the database attribute panel https://github.com/siyuan-note/siyuan/issues/11319
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
kValues := &av.KeyValues{Key: kv.Key}
|
kValues := &av.KeyValues{Key: kv.Key}
|
||||||
for _, v := range kv.Values {
|
for _, v := range kv.Values {
|
||||||
if v.BlockID == blockID {
|
if v.BlockID == blockID {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue