@craftile/editor 0.6.1 → 0.6.2
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/dist/index.js +5 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -356,13 +356,15 @@ class Pa {
|
|
|
356
356
|
const c = this.buildProperties(i, r.properties), a = {
|
|
357
357
|
type: r.type,
|
|
358
358
|
id: s,
|
|
359
|
-
name: i.meta?.name || r.type,
|
|
360
|
-
//
|
|
359
|
+
name: r.name || i.meta?.name || r.type,
|
|
360
|
+
// Preserve custom name from preset
|
|
361
361
|
semanticId: r.id,
|
|
362
362
|
// Preserve semantic ID from preset
|
|
363
363
|
properties: c,
|
|
364
364
|
children: [],
|
|
365
|
-
parentId: n
|
|
365
|
+
parentId: n,
|
|
366
|
+
static: r.static
|
|
367
|
+
// Preserve static flag
|
|
366
368
|
};
|
|
367
369
|
this.page.blocks[s] = a, this.createdBlockIds.push(s), r.children && r.children.length > 0 && (a.children = this.createChildrenFromPreset(r.children, s)), o.push(s);
|
|
368
370
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@craftile/editor",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Vue.js-based editor UI components for craftile blocks engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"craftile",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"vue": "^3.5.17",
|
|
40
40
|
"vue-draggable-plus": "^0.6.0",
|
|
41
|
-
"@craftile/
|
|
42
|
-
"@craftile/
|
|
43
|
-
"@craftile/messenger": "0.6.
|
|
44
|
-
"@craftile/types": "0.6.
|
|
41
|
+
"@craftile/event-bus": "0.6.2",
|
|
42
|
+
"@craftile/core": "0.6.2",
|
|
43
|
+
"@craftile/messenger": "0.6.2",
|
|
44
|
+
"@craftile/types": "0.6.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@ark-ui/vue": "^5.24.1",
|