From 496fc04b6c68ab3942d82345e6a87f1bbccdbf78 Mon Sep 17 00:00:00 2001 From: Alex Hoyau Date: Thu, 13 Jun 2024 18:15:05 +0500 Subject: [PATCH 1/2] WIP: prevent saving during publication --- src/ts/client/grapesjs/PublicationManager.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ts/client/grapesjs/PublicationManager.ts b/src/ts/client/grapesjs/PublicationManager.ts index 6d7d0ce4c..3e3007d53 100644 --- a/src/ts/client/grapesjs/PublicationManager.ts +++ b/src/ts/client/grapesjs/PublicationManager.ts @@ -160,7 +160,8 @@ export class PublicationManager { } this.status = PublicationStatus.STATUS_NONE // Save the website with the new settings - await this.editor.store(null) + // WIP: prevent saving during publication + // await this.editor.store(null) // Display the dialog this.dialog && this.dialog.displayPending(this.job, this.status) return @@ -190,7 +191,8 @@ export class PublicationManager { this.settings.options = data.options this.status = PublicationStatus.STATUS_NONE // Save the website with the new settings - await this.editor.store(null) + // WIP: prevent saving during publication + // await this.editor.store(null) // Display the dialog this.dialog && this.dialog.displayPending(this.job, this.status) //await this.startPublication() From 2544a2190e1a883b126533d71ef20ac3a74e7df1 Mon Sep 17 00:00:00 2001 From: Alex Hoyau Date: Thu, 13 Jun 2024 18:26:44 +0500 Subject: [PATCH 2/2] 3.0.0-alpha.165 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4f8639e6d..13d7ecb8a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@silexlabs/silex", - "version": "3.0.0-alpha.164", + "version": "3.0.0-alpha.165", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@silexlabs/silex", - "version": "3.0.0-alpha.164", + "version": "3.0.0-alpha.165", "license": "AGPL-3.0-or-later", "dependencies": { "@fontsource/ubuntu": "^5.0.8", diff --git a/package.json b/package.json index 2b852d662..871c9e7b0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@silexlabs/silex", "description": "Free and easy website builder for everyone.", - "version": "3.0.0-alpha.164", + "version": "3.0.0-alpha.165", "version:backwardcompat": "3.0.0", "author": { "name": "Alex Hoyau",