From 9e24c15ee6ece4daae40136a528ef83d793796cb Mon Sep 17 00:00:00 2001 From: devAyushDubey Date: Thu, 17 Oct 2024 14:48:21 +0530 Subject: [PATCH] using innerHTML instead of innerText --- src/visualBuilder/generators/generateOverlay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visualBuilder/generators/generateOverlay.tsx b/src/visualBuilder/generators/generateOverlay.tsx index 2e88b16..f4b57c6 100644 --- a/src/visualBuilder/generators/generateOverlay.tsx +++ b/src/visualBuilder/generators/generateOverlay.tsx @@ -161,7 +161,7 @@ export function hideFocusOverlay(elements: HideOverlayParams): void { ) { data = getMultilinePlaintext(actualEditedElement); - (actualEditedElement as HTMLElement).innerText = + (actualEditedElement as HTMLElement).innerHTML = data as string; } }