Skip to content

Commit

Permalink
fix(): SHLSTYYWPT-736 HTTP请求的body支持 全屏 或 自动换行(优化一行太长的展示效果) ref SHLSTY…
Browse files Browse the repository at this point in the history
…YWPT-736
  • Loading branch information
zhendonghuang authored and zhendonghuang committed Dec 6, 2024
1 parent 9f97a8e commit 107f097
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/code-editor-components/src/code-editor/CodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ export function CodeEditorItem(
highlightActiveLine: props.highlightActiveLine,
enableLiveAutocompletion: props.enableLiveAutocompletion,
showGutter: props.showGutter,
wrap: props.wrap,
...(expanded
? {
maxLines: expandedLines,
Expand Down
1 change: 1 addition & 0 deletions libs/code-editor-components/src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export interface CodeEditorProps extends FormItemWrapperProps {
value: string;
}) => void;
enableUseMultipleYamlFiles?: boolean;
wrap?: boolean;
}

export interface HighlightTokenSettings {
Expand Down

0 comments on commit 107f097

Please sign in to comment.