mirror of https://github.com/logseq/logseq
chore: disable auto headings on markdown mode
parent
cce937b9d7
commit
1aebde26e8
|
@ -188,7 +188,10 @@
|
|||
:icon "h-auto"
|
||||
:icon-props {:extension? true}
|
||||
:class "to-heading-button"
|
||||
:title (t :auto-heading)
|
||||
:title (if (= format :markdown)
|
||||
(str (t :auto-heading) " - " (t :not-available-in-mode format))
|
||||
(t :auto-heading))
|
||||
:disabled (= format :markdown)
|
||||
:on-click (fn [_e]
|
||||
(editor-handler/set-heading! block-id format true))
|
||||
:intent "link"
|
||||
|
|
|
@ -340,6 +340,7 @@
|
|||
:remove-heading "Remove heading"
|
||||
:heading "Heading {1}"
|
||||
:auto-heading "Auto heading"
|
||||
:not-available-in-mode "Not available in {1} mode"
|
||||
:open "Open"
|
||||
:open-a-directory "Open a local directory"
|
||||
:user/delete-account "Delete account"
|
||||
|
|
Loading…
Reference in New Issue