mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 18:11:38 +02:00
🐛 Fix text validation
This commit is contained in:
parent
cf68a9cf1e
commit
766040198a
1 changed files with 40 additions and 38 deletions
|
@ -21,6 +21,8 @@
|
||||||
[:type [:= "root"]]
|
[:type [:= "root"]]
|
||||||
[:key {:optional true} :string]
|
[:key {:optional true} :string]
|
||||||
[:children
|
[:children
|
||||||
|
{:optional true}
|
||||||
|
[:maybe
|
||||||
[:vector {:min 1 :gen/max 2 :gen/min 1}
|
[:vector {:min 1 :gen/max 2 :gen/min 1}
|
||||||
[:map
|
[:map
|
||||||
[:type [:= "paragraph-set"]]
|
[:type [:= "paragraph-set"]]
|
||||||
|
@ -58,7 +60,7 @@
|
||||||
[:text-decoration {:optional true} :string]
|
[:text-decoration {:optional true} :string]
|
||||||
[:text-transform {:optional true} :string]
|
[:text-transform {:optional true} :string]
|
||||||
[:typography-ref-id {:optional true} [:maybe ::sm/uuid]]
|
[:typography-ref-id {:optional true} [:maybe ::sm/uuid]]
|
||||||
[:typography-ref-file {:optional true} [:maybe ::sm/uuid]]]]]]]]]]]])
|
[:typography-ref-file {:optional true} [:maybe ::sm/uuid]]]]]]]]]]]]])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue