style: use RTL attribute instead of css
This commit is contained in:
parent
af4e123739
commit
c60ad1e4da
@ -26,7 +26,7 @@ const htmlWrappers = [
|
|||||||
|
|
||||||
const getHtmlWrappedText = (text: string, htmlWrapper: (typeof htmlWrappers)[number]) => {
|
const getHtmlWrappedText = (text: string, htmlWrapper: (typeof htmlWrappers)[number]) => {
|
||||||
if (htmlWrapper === MarkdownOperator.RIGHTALIGN) {
|
if (htmlWrapper === MarkdownOperator.RIGHTALIGN) {
|
||||||
return `<span style="text-align:right">\n\n${text}\n\n</span>\n`
|
return `<span dir="rtl">\n\n${text}\n\n</span>\n`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user