Revert "🎨 Add tags to the database when binding blocks to the database https://github.com/siyuan-note/siyuan/issues/15757"

This reverts commit 4d8bc1672c.
This commit is contained in:
Daniel 2025-09-04 18:00:47 +08:00
parent 4d8bc1672c
commit ba10d96a10
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
16 changed files with 36 additions and 124 deletions

View file

@ -634,15 +634,6 @@ func (av *AttributeView) GetKey(keyID string) (ret *Key, err error) {
return
}
func (av *AttributeView) GetKeyByNameType(keyName string, typ KeyType) (ret []*Key) {
for _, kv := range av.KeyValues {
if kv.Key.Name == keyName && kv.Key.Type == typ {
ret = append(ret, kv.Key)
}
}
return
}
func (av *AttributeView) GetBlockKeyValues() (ret *KeyValues) {
for _, kv := range av.KeyValues {
if KeyTypeBlock == kv.Key.Type {

View file

@ -673,7 +673,7 @@ func Round(val float64, precision int) float64 {
type ValueSelect struct {
Content string `json:"content"`
Color string `json:"color"` // 1-14
Color string `json:"color"`
}
func MSelectExistOption(mSelect []*ValueSelect, opt string) bool {