@aduptive/strapi-blockscene 2.0.0-alpha.3 → 2.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/dist/admin.cjs +1295 -366
- package/dist/admin.mjs +1334 -368
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,6 +66,16 @@ label ending with the raw zone name, which Strapi's message carries in every
|
|
|
66
66
|
locale; a zone whose name ends another zone's name (`blocks` and `sub blocks`)
|
|
67
67
|
is the documented limit.
|
|
68
68
|
|
|
69
|
+
## Row thumbnails
|
|
70
|
+
|
|
71
|
+
Each added block shows its thumbnail at the left of the native accordion
|
|
72
|
+
header, and clicking it opens the image full size in a modal instead of
|
|
73
|
+
opening or closing the row. The sources are the same as the gallery cards,
|
|
74
|
+
minus the wireframe: a block with no image shows nothing, so nothing new is
|
|
75
|
+
invented for blocks that were never captured. The thumbnail is inserted into
|
|
76
|
+
Strapi's own header through the DOM (no Content Manager patch) and is
|
|
77
|
+
restored when Strapi re-renders the list.
|
|
78
|
+
|
|
69
79
|
## Thumbnail priority
|
|
70
80
|
|
|
71
81
|
Each card tries these sources in order and moves on when one fails to load.
|
|
@@ -192,7 +202,8 @@ pairs naming unknown components are dropped. Several OPENs may share one CLOSE.
|
|
|
192
202
|
With a valid map:
|
|
193
203
|
|
|
194
204
|
- The gallery (form mode) and the page preview insert OPEN and its CLOSE in the
|
|
195
|
-
same unsaved change: an empty group, never a lone marker.
|
|
205
|
+
same unsaved change: an empty group, never a lone marker. A CLOSE is not
|
|
206
|
+
offered on its own in the gallery or the preview picker. When the CLOSE is
|
|
196
207
|
not allowed in that zone, or the zone has no room for two rows, nothing is
|
|
197
208
|
inserted and a notice explains why (two form dispatches in one React batch;
|
|
198
209
|
no partial state is rendered or saved). Children are added
|