|
@@ -195,6 +195,7 @@ export function Markdown(
|
|
|
fontSize: `${props.fontSize ?? 14}px`,
|
|
|
height: getSize(renderedHeight.current),
|
|
|
width: getSize(renderedWidth.current),
|
|
|
+ direction: /[\u0600-\u06FF]/.test(props.content) ? "rtl" : "ltr",
|
|
|
}}
|
|
|
ref={mdRef}
|
|
|
onContextMenu={props.onContextMenu}
|