mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(plugin-codemirror): CB-1153 remove line wrapping
This commit is contained in:
@@ -45,9 +45,6 @@ const DdlViewerTabPanel: React.FC<DdlViewerTabPanelProps> = observer(function Dd
|
||||
<SQLCodeEditorLoader
|
||||
bindings={{
|
||||
autoCursor: false,
|
||||
options: {
|
||||
lineWrapping: false,
|
||||
},
|
||||
}}
|
||||
value={controller.metadata}
|
||||
dialect={controller.dialect}
|
||||
|
||||
-1
@@ -25,7 +25,6 @@ const COMMON_EDITOR_CONFIGURATION: EditorConfiguration = {
|
||||
indentWithTabs: true,
|
||||
smartIndent: true,
|
||||
autofocus: true,
|
||||
lineWrapping: true,
|
||||
};
|
||||
|
||||
@injectable()
|
||||
|
||||
@@ -81,7 +81,6 @@ export class SqlEditorController implements IInitializableController {
|
||||
indentWithTabs: true,
|
||||
smartIndent: true,
|
||||
autofocus: true,
|
||||
lineWrapping: false,
|
||||
showHint: true,
|
||||
extraKeys: {
|
||||
// Execute sql script
|
||||
|
||||
Reference in New Issue
Block a user