From ceb6c4e8f5de3bd5a18f676d3413e7b10ef030a6 Mon Sep 17 00:00:00 2001 From: Brandon Jordan Date: Sun, 19 Nov 2023 17:48:05 -0500 Subject: [PATCH] Fix scrollable text content to be unstyled --- src/actions/text.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/actions/text.ts b/src/actions/text.ts index 84c9031..43d13e4 100644 --- a/src/actions/text.ts +++ b/src/actions/text.ts @@ -15,10 +15,12 @@ export default { const action = document.createElement('div'); const header = renderActionHeader(actions['gettext']); action.appendChild(header); - const value = document.createElement('div'); - value.className = 'sp-scrollable-action-content sp-unstyled-value'; - value.appendChild(renderValue(params['WFTextActionText'], 'Text')); - action.appendChild(renderActionContent(value.outerHTML)); + const text = document.createElement('div'); + text.className = 'sp-scrollable-action-content'; + const value = renderValue(params['WFTextActionText'], 'Text'); + value.className = 'sp-value sp-unstyled-value'; + text.appendChild(value); + action.appendChild(renderActionContent(text.outerHTML)); return action; }