mirror of https://github.com/logseq/logseq
chore: disable raw file editing mode temporally
parent
7de23f1397
commit
736129eb33
|
@ -385,19 +385,19 @@
|
|||
page-name
|
||||
path-page-name))]])
|
||||
[:div
|
||||
[:div.content
|
||||
(when (and file-path
|
||||
(not sidebar?)
|
||||
(not block?)
|
||||
(not (state/hide-file?))
|
||||
(not config/publishing?))
|
||||
[:div.text-sm.ml-1.mb-4.flex-1.inline-flex
|
||||
{:key "page-file"}
|
||||
[:span.opacity-50 {:style {:margin-top 2}} (t :file/file)]
|
||||
[:a.bg-base-2.px-1.ml-1.mr-3 {:style {:border-radius 4
|
||||
:word-break "break-word"}
|
||||
:href (rfe/href :file {:path file-path})}
|
||||
file-path]])]
|
||||
;; [:div.content
|
||||
;; (when (and file-path
|
||||
;; (not sidebar?)
|
||||
;; (not block?)
|
||||
;; (not (state/hide-file?))
|
||||
;; (not config/publishing?))
|
||||
;; [:div.text-sm.ml-1.mb-4.flex-1.inline-flex
|
||||
;; {:key "page-file"}
|
||||
;; [:span.opacity-50 {:style {:margin-top 2}} (t :file/file)]
|
||||
;; [:a.bg-base-2.px-1.ml-1.mr-3 {:style {:border-radius 4
|
||||
;; :word-break "break-word"}
|
||||
;; :href (rfe/href :file {:path file-path})}
|
||||
;; file-path]])]
|
||||
|
||||
(when (and repo (not block?))
|
||||
(let [alias (db/get-page-alias-names repo page-name)]
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
:ui/toggle-new-block "t e"
|
||||
:ui/show-contents "t c"
|
||||
:ui/toggle-wide-mode "t w"
|
||||
:ui/toggle-between-page-and-file "s"
|
||||
;; :ui/toggle-between-page-and-file "s"
|
||||
:ui/fold "tab"
|
||||
:ui/un-fold "shift+tab"
|
||||
:ui/toggle-brackets "mod+c mod+b"
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
:ui/toggle-new-block state/toggle-new-block-shortcut!
|
||||
:ui/show-contents ui-handler/toggle-contents!
|
||||
:ui/toggle-wide-mode ui-handler/toggle-wide-mode!
|
||||
:ui/toggle-between-page-and-file route-handler/toggle-between-page-and-file!
|
||||
;; :ui/toggle-between-page-and-file route-handler/toggle-between-page-and-file!
|
||||
:ui/fold (editor-handler/on-tab :right)
|
||||
:ui/un-fold (editor-handler/on-tab :left)
|
||||
|
||||
|
|
Loading…
Reference in New Issue