From 7eb4122010c57b91903e9d7f3c900c6e6cfa8596 Mon Sep 17 00:00:00 2001 From: aishwaryanagar Date: Tue, 26 Aug 2025 16:09:09 +0530 Subject: [PATCH] enabled edit button after saving the project in full-editor sample set correct id of edit button in callback function that sets disabled = false i.e., enables the button --- code-samples/tutorials/embed-sdk-full-editor/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-samples/tutorials/embed-sdk-full-editor/src/main.js b/code-samples/tutorials/embed-sdk-full-editor/src/main.js index dd34394..19dbe89 100644 --- a/code-samples/tutorials/embed-sdk-full-editor/src/main.js +++ b/code-samples/tutorials/embed-sdk-full-editor/src/main.js @@ -54,7 +54,7 @@ const callbacks = { expressImage.src = publishParams.asset[0].data; console.log("Image data", publishParams.asset[0].data); // enable the editDesign button - document.getElementById("editDesign").disabled = false; + document.getElementById("editBtn").disabled = false; }, onError: (err) => { console.error("Error!", err.toString());