mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 09:47:35 +08:00
add "keywords" alias for tags to be compatible with pandoc and zettlr
This commit is contained in:

committed by
Vishesh Handa

parent
f61aa06f07
commit
df568d8ad5
@ -212,6 +212,7 @@ class NoteSerializer implements NoteSerializerInterface {
|
|||||||
var tagKeyOptions = [
|
var tagKeyOptions = [
|
||||||
"tags",
|
"tags",
|
||||||
"categories",
|
"categories",
|
||||||
|
"keywords",
|
||||||
];
|
];
|
||||||
for (var possibleKey in tagKeyOptions) {
|
for (var possibleKey in tagKeyOptions) {
|
||||||
var tags = data.props[possibleKey];
|
var tags = data.props[possibleKey];
|
||||||
|
@ -145,6 +145,7 @@ class _NoteMetadataSettingsScreenState
|
|||||||
options: [
|
options: [
|
||||||
"tags",
|
"tags",
|
||||||
"categories",
|
"categories",
|
||||||
|
"keywords",
|
||||||
],
|
],
|
||||||
currentOption: settings.yamlTagsKey,
|
currentOption: settings.yamlTagsKey,
|
||||||
onChange: (String newVal) {
|
onChange: (String newVal) {
|
||||||
|
Reference in New Issue
Block a user