瀏覽代碼

Wrap code blocks by default (#8194)

Matt Rubens 3 月之前
父節點
當前提交
1533efc1ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      webview-ui/src/components/common/CodeBlock.tsx

+ 1 - 1
webview-ui/src/components/common/CodeBlock.tsx

@@ -219,7 +219,7 @@ const CodeBlock = memo(
 		rawSource,
 		language,
 		preStyle,
-		initialWordWrap = false,
+		initialWordWrap = true,
 		initialWindowShade = true,
 		collapsedHeight,
 		onLanguageChange,