mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 06:34:34 +00:00
enhance: display block container instead of reference for property value
This commit is contained in:
@@ -2857,7 +2857,7 @@
|
||||
(:block/properties-text-values block)
|
||||
edit-input-id {:inline-text inline-text
|
||||
:page-cp page-cp
|
||||
:block-cp block-reference
|
||||
:block-cp blocks-container
|
||||
:editor-box (get config :editor-box)
|
||||
:selected? selected?}))])
|
||||
|
||||
|
||||
@@ -275,7 +275,8 @@
|
||||
(page-cp {} page))
|
||||
|
||||
:block
|
||||
(block-cp {} value nil)
|
||||
[:div.property-block-container.w-full
|
||||
(block-cp [(db/entity [:block/uuid value])] {:editor-box editor-box})]
|
||||
|
||||
(inline-text {} :markdown (str value))))])))))
|
||||
|
||||
|
||||
@@ -39,6 +39,14 @@
|
||||
.cp__select-input {
|
||||
padding: 0.5em 1em;
|
||||
}
|
||||
|
||||
.ls-block, .editor-wrapper {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.property-block-container {
|
||||
margin-left: -1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
input.simple-input {
|
||||
|
||||
Reference in New Issue
Block a user