🔀 fix: code block direction (#247)

* fix: change allow change language default value to false
This commit is contained in:
Alireza Imani
2025-01-24 17:06:30 +08:00
committed by GitHub
parent e7a3992e21
commit 33c87465b2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ export const HighlighterFullFeatured = memo<HighlighterFullFeaturedProps>(
showLanguage,
className,
style,
allowChangeLanguage = true,
allowChangeLanguage = false,
fileName,
icon,
actionsRender,
@@ -35,6 +35,7 @@ const SyntaxHighlighter = memo<SyntaxHighlighterProps>(
dangerouslySetInnerHTML={{
__html: data as string,
}}
dir="ltr"
style={style}
/>
)}