Skip to content

Commit

Permalink
Fix scrollable text content to be unstyled
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Nov 19, 2023
1 parent 9f3ec72 commit ceb6c4e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/actions/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ceb6c4e

Please sign in to comment.