@myissue/vue-website-page-builder 3.3.63 → 3.3.64
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
|
@@ -1499,6 +1499,8 @@ export class PageBuilderService {
|
|
|
1499
1499
|
|
|
1500
1500
|
// Restore the original content if available
|
|
1501
1501
|
if (Array.isArray(this.originalComponents)) {
|
|
1502
|
+
await this.clearClassesFromPage()
|
|
1503
|
+
await this.clearInlineStylesFromPagee()
|
|
1502
1504
|
await this.#mountComponentsToDOM(JSON.stringify(this.originalComponents), true)
|
|
1503
1505
|
this.removeCurrentComponentsFromLocalStorage()
|
|
1504
1506
|
}
|
|
@@ -87,7 +87,7 @@ const configPageBuilder = {
|
|
|
87
87
|
} as const
|
|
88
88
|
|
|
89
89
|
onMounted(async () => {
|
|
90
|
-
const result = await pageBuilderService.startBuilder(configPageBuilder)
|
|
90
|
+
const result = await pageBuilderService.startBuilder(configPageBuilder, componentsArray)
|
|
91
91
|
console.log('Page Builder Result:', result)
|
|
92
92
|
//
|
|
93
93
|
//
|