Studio: WIP
This commit is contained in:
parent
6ff2c629f0
commit
cb538c2303
33 changed files with 608 additions and 2071 deletions
|
@ -11,10 +11,14 @@
|
|||
export let state: EditLayerState
|
||||
export let path: (string | number)[] = []
|
||||
|
||||
|
||||
console.log("Constructing", path,"with schema", schema)
|
||||
|
||||
</script>
|
||||
|
||||
{#if schema.type === "array"}
|
||||
{#if schema.hints.typehint === "tagrendering[]"}
|
||||
<!-- We cheat a bit here by matching this 'magical' type... -->
|
||||
<SchemaBasedArray {path} {state} {schema}/>
|
||||
{:else if schema.type === "array"}
|
||||
<SchemaBasedArray {path} {state} {schema}/>
|
||||
{:else if schema.hints.typehint === "tag"}
|
||||
<RegisteredTagInput {state} {path} {schema}/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue