Start of properties panel

This commit is contained in:
space-nuko
2023-05-05 00:49:34 -05:00
parent 85d676b0f9
commit 7f64b743a7
7 changed files with 278 additions and 68 deletions

View File

@@ -67,7 +67,9 @@
{#key $propsChanged}
{#if node !== null && nodeValue !== null}
<label>
<BlockTitle show_label={true}>{widget.attrs.title}</BlockTitle>
{#if widget.attrs.showTitle}
<BlockTitle show_label={widget.attrs.showTitle}>{widget.attrs.title}</BlockTitle>
{/if}
<Select
bind:value={option}
bind:items={node.properties.values}