mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: allow to disable markdown shortcuts (#4025)
* add settting to disable markdown keymap Signed-off-by: d0zingcat <leewtang@gmail.com> * rename disable markdown shortcuts Signed-off-by: d0zingcat <leewtang@gmail.com> * fix lint Signed-off-by: d0zingcat <leewtang@gmail.com> --------- Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
@ -237,6 +237,7 @@ func convertWorkspaceMemoRelatedSettingFromStore(setting *storepb.WorkspaceMemoR
|
||||
EnableLocation: setting.EnableLocation,
|
||||
DefaultVisibility: setting.DefaultVisibility,
|
||||
Reactions: setting.Reactions,
|
||||
DisableMarkdownShortcuts: setting.DisableMarkdownShortcuts,
|
||||
}
|
||||
}
|
||||
|
||||
@ -255,5 +256,6 @@ func convertWorkspaceMemoRelatedSettingToStore(setting *v1pb.WorkspaceMemoRelate
|
||||
EnableLocation: setting.EnableLocation,
|
||||
DefaultVisibility: setting.DefaultVisibility,
|
||||
Reactions: setting.Reactions,
|
||||
DisableMarkdownShortcuts: setting.DisableMarkdownShortcuts,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user