mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
feat(builtin_templates): add description field for text snippets
This commit is contained in:
parent
9687a9d8ff
commit
47eaee8b70
@ -18,6 +18,11 @@ export default function buildHiddenSubtreeTemplates() {
|
||||
{
|
||||
name: "textSnippet",
|
||||
type: "label"
|
||||
},
|
||||
{
|
||||
name: "label:textSnippetDescription",
|
||||
type: "label",
|
||||
value: "promoted,alias=Description,single,text"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ enum Command {
|
||||
}
|
||||
|
||||
export interface HiddenSubtreeAttribute {
|
||||
type: AttributeType;
|
||||
type: "label" | "relation";
|
||||
name: string;
|
||||
isInheritable?: boolean;
|
||||
value?: string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user