From 0bf73fae71bc67c59cc97221194ca85b1af71866 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Tue, 14 Nov 2023 13:02:30 +0100 Subject: [PATCH] Add todo --- packages/realtime-compiler/resources/live-edit.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/realtime-compiler/resources/live-edit.js b/packages/realtime-compiler/resources/live-edit.js index cbe9b5816de..d847a8ae85c 100644 --- a/packages/realtime-compiler/resources/live-edit.js +++ b/packages/realtime-compiler/resources/live-edit.js @@ -60,6 +60,8 @@ function initLiveEdit() { } } + // Todo: By adding a return redirect we could do this part without JavaScript, + // but then we might need client-side validation, nullifying the value. function handleFormSubmit(event, editor) { event.preventDefault();