I am losing underline and strikethrough when I change font size, foreColor or backColor. I am changing the default font and font size in onMount.
const styles = `p {font-family: EYInterstate; font-size: 14px;}`;
const onMount = (event) => {
const iframeDocument = event.dom.ownerDocument;
const style = iframeDocument.createElement('style');
style.appendChild(iframeDocument.createTextNode(styles));
iframeDocument.head.appendChild(style);
};
Not sure if that is causing this. Any ideas?