Browse Source

chore: only enable <properties for org mode

Tienson Qin 4 years ago
parent
commit
0de5ef64ff
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/frontend/commands.cljs

+ 2 - 1
src/main/frontend/commands.cljs

@@ -236,7 +236,8 @@
      ["Src" (->block "src" "")]
      ["Query" (->block "query")]
      ["Latex export" (->block "export" "latex")]
-     (when-not (= :markdown (state/get-preferred-format))
+     ;; FIXME: current page's format
+     (when (= :org (state/get-preferred-format))
        ["Properties" (->properties)])
      ["Note" (->block "note")]
      ["Tip" (->block "tip")]