🔀 fix: code block direction (#247)
* fix: change allow change language default value to false
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user