mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 15:45:00 +00:00
fix(ui): local plugin readme
This commit is contained in:
@@ -520,7 +520,9 @@
|
||||
content (parse-user-md-content content item)]
|
||||
(and (string/blank? (string/trim content)) (throw (js/Error. "blank readme content")))
|
||||
(state/set-state! :plugin/active-readme [content item])
|
||||
(shui/dialog-open! (fn [_] (display)) {:label "plugin-readme"}))
|
||||
(shui/dialog-open! (fn [_] (display))
|
||||
{:label "plugin-readme"
|
||||
:content-props {:class "max-h-[86vh] overflow-auto"}}))
|
||||
(p/catch #(do (js/console.warn %)
|
||||
(notification/show! "No README content." :warning))))
|
||||
;; market
|
||||
|
||||
Reference in New Issue
Block a user