Skip to content

Commit

Permalink
🔀 fix: code block direction (#247)
Browse files Browse the repository at this point in the history
* fix: change allow change language default value to false
  • Loading branch information
alirezaImani-f4L3e authored Jan 24, 2025
1 parent e7a3992 commit 33c8746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Highlighter/FullFeatured.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const HighlighterFullFeatured = memo<HighlighterFullFeaturedProps>(
showLanguage,
className,
style,
allowChangeLanguage = true,
allowChangeLanguage = false,
fileName,
icon,
actionsRender,
Expand Down
1 change: 1 addition & 0 deletions src/Highlighter/SyntaxHighlighter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const SyntaxHighlighter = memo<SyntaxHighlighterProps>(
dangerouslySetInnerHTML={{
__html: data as string,
}}
dir="ltr"
style={style}
/>
)}
Expand Down

0 comments on commit 33c8746

Please sign in to comment.