I’m interpreting a Plasmic Text component content as HTML using the HTLML?
option.
I use a <s> HTML element (<s>: The Strikethrough element - HTML: HyperText Markup Language | MDN)
However the element doesn’t visually result in a strikethrough neither in the Plasmic editor nor in the final website.
Using the Chrome inspector, I can see that the s class has no value for text-decoration
s {
text-decoration: line-through;
text-decoration-line: ;
text-decoration-thickness: ;
text-decoration-style: ;
text-decoration-color: ;
}
To work around this issue I added my own s class to the embed css props:
s {
text-decoration-line: line-through;
}
I used the “Website starter” to debug the issue