Wrap strike text for chatlist

This commit is contained in:
Eduard Kuzmenko 2022-12-02 19:20:27 +04:00
parent bb7ef5c762
commit 99bd6fbedf
1 changed files with 1 additions and 1 deletions

View File

@ -1087,7 +1087,7 @@ export default function wrapRichText(text: string, options: Partial<{
// const styleName = IS_SAFARI ? 'text-decoration' : 'text-decoration-line';
// element.style.cssText = `${styleName}: line-through;`;
element.style.fontFamily = 'markup-strikethrough';
} else if(!options.noTextFormat) {
} else/* if(!options.noTextFormat) */ {
element = document.createElement('del');
}