Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

refactor: Remove unnecessary CSS property in Editor utils

robin341b0ab8da56
diff --git a/ui/src/components/Editor/utils/index.ts b/ui/src/components/Editor/utils/index.ts
index 0624418a..759033cc 100644
--- a/ui/src/components/Editor/utils/index.ts
+++ b/ui/src/components/Editor/utils/index.ts
@@ -98,7 +98,6 @@ export const useEditor = ({
'.cm-line': {
whiteSpace: 'pre-wrap',
wordWrap: 'break-word',
- wordBreak: 'break-all',
},
'.ͼ7, .ͼ6': {
textDecoration: 'none',