@myissue/vue-website-page-builder 3.2.76 → 3.2.78
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 +7 -0
- package/dist/vue-website-page-builder.js +8031 -7925
- package/dist/vue-website-page-builder.umd.cjs +50 -50
- package/package.json +1 -1
- package/src/Components/Modals/DynamicModalBuilder.vue +18 -1
- package/src/DemoComponents/HomeSection.vue +5 -5
- package/src/DemoComponents/html.json +0 -1
- package/src/PageBuilder/PageBuilder.vue +70 -2
- package/src/composables/PageBuilderClass.ts +143 -9
package/README.md
CHANGED
|
@@ -558,6 +558,13 @@ Example `existingResourceFromBackend`:
|
|
|
558
558
|
]
|
|
559
559
|
```
|
|
560
560
|
|
|
561
|
+
### Automatic Draft Recovery for Updates
|
|
562
|
+
|
|
563
|
+
When you set `formType: 'update'` in your config, the Page Builder will automatically check for any unsaved draft in local storage for that resource.
|
|
564
|
+
If a draft is found, the user will be prompted to either continue where they left off or use the version currently loaded from your backend.
|
|
565
|
+
|
|
566
|
+
No extra setup is required—just set `formType: 'update'` and the feature is enabled by default.
|
|
567
|
+
|
|
561
568
|
### Customization
|
|
562
569
|
|
|
563
570
|
Customizing the page builder is made simple since all the logic resides in the PageBuilder Class.
|