@myissue/vue-website-page-builder 3.3.59 → 3.3.60
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/package.json
CHANGED
|
@@ -61,7 +61,7 @@ const configPageBuilder = {
|
|
|
61
61
|
image: '/jane_doe.jpg',
|
|
62
62
|
},
|
|
63
63
|
updateOrCreate: {
|
|
64
|
-
formType: '
|
|
64
|
+
formType: 'create',
|
|
65
65
|
formName: 'collection',
|
|
66
66
|
},
|
|
67
67
|
pageBuilderLogo: {
|
|
@@ -79,18 +79,18 @@ const configPageBuilder = {
|
|
|
79
79
|
settings: {
|
|
80
80
|
brandColor: '#DB93B0',
|
|
81
81
|
},
|
|
82
|
-
pageSettings: {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
},
|
|
82
|
+
// pageSettings: {
|
|
83
|
+
// classes:
|
|
84
|
+
// 'pbx-font-didot pbx-italic pbx-px-20 pbx-rounded-full pbx-rounded-tr-full pbx-border-8 pbx-border-green-800 pbx-border-solid pbx-text-neutral-300 pbx-bg-stone-700',
|
|
85
|
+
// style: {
|
|
86
|
+
// backgroundColor: 'red',
|
|
87
|
+
// border: '6px solid yellow',
|
|
88
|
+
// },
|
|
89
|
+
// },
|
|
90
90
|
} as const
|
|
91
91
|
|
|
92
92
|
onMounted(async () => {
|
|
93
|
-
const result = await pageBuilderService.startBuilder(configPageBuilder
|
|
93
|
+
const result = await pageBuilderService.startBuilder(configPageBuilder)
|
|
94
94
|
console.log('Page Builder Result:', result)
|
|
95
95
|
//
|
|
96
96
|
//
|
|
@@ -332,8 +332,6 @@ export class PageBuilderService {
|
|
|
332
332
|
// Deselect any selected or hovered elements in the builder UI
|
|
333
333
|
await this.clearHtmlSelection()
|
|
334
334
|
|
|
335
|
-
//
|
|
336
|
-
//
|
|
337
335
|
//
|
|
338
336
|
if (formType === 'update' || formType === 'create') {
|
|
339
337
|
if (!this.pendingMountData) {
|
|
@@ -359,6 +357,11 @@ export class PageBuilderService {
|
|
|
359
357
|
await this.#completeMountProcess(JSON.stringify([]))
|
|
360
358
|
return
|
|
361
359
|
}
|
|
360
|
+
|
|
361
|
+
if (!this.isPageBuilderMissingOnStart && !localStorageData && !passedComponentsArray) {
|
|
362
|
+
await this.#completeMountProcess(JSON.stringify([]))
|
|
363
|
+
return
|
|
364
|
+
}
|
|
362
365
|
}
|
|
363
366
|
|
|
364
367
|
// FOCUS ON: pendingMountData
|