Skip to content

Commit

Permalink
Merge pull request #696 from easyops-cn/zhendong/fix
Browse files Browse the repository at this point in the history
fix(): SHLSTYYWPT-736 HTTP请求的body支持 全屏 或 自动换行(优化一行太长的展示效果) ref SHLSTY…
  • Loading branch information
panzekun authored Dec 6, 2024
2 parents 9f97a8e + 107f097 commit 8223cf1
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 8223cf1

Please sign in to comment.