refactor: simplify ElementPopup with flat refs and style descriptors
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
Flatten ref({ value }) to simple ref(), replace 9 updateX functions with
a generic updateProp driven by descriptor arrays, and loop over descriptors
in generatePreviewCss/loadValuesFromStylesheet/applyAllStyles. Remove
trivial passthrough computed properties. (-123 lines)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
69d5ebe7ed
commit
f3c7132044
4 changed files with 129 additions and 242 deletions
|
|
@ -0,0 +1 @@
|
|||
1772115179
|
||||
|
|
@ -2,7 +2,11 @@ Title: Nîmes
|
|||
|
||||
----
|
||||
|
||||
Content:
|
||||
Cover:
|
||||
|
||||
----
|
||||
|
||||
Text: [{"content":{"text":"<p>Nisi nec morbi diam tortor quis interdum fusce quisque sit aliquam scelerisque a vivamus gravida id eros nisl tortor commodo amet mi quis tincidunt metus.</p><p>Congue proin urna eget quisque sem a fusce felis eros purus hendrerit facilisis hendrerit metus accumsan metus nec eu cursus elementum maecenas ut scelerisque sit.</p>"},"id":"1adbada8-6dee-4ab4-b33b-d914d4806b70","isHidden":false,"type":"text"}]
|
||||
|
||||
----
|
||||
|
||||
|
|
@ -22,4 +26,8 @@ Markericonsize: 40
|
|||
|
||||
----
|
||||
|
||||
Content:
|
||||
|
||||
----
|
||||
|
||||
Uuid: lajqvh51bnvty5xr
|
||||
|
|
@ -6,7 +6,7 @@ Author: Mélina Vuillaumier
|
|||
|
||||
----
|
||||
|
||||
Cover:
|
||||
Cover: - file://gw2bzdqno3enn1in
|
||||
|
||||
----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue