mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Fleet UI: [fix] SQL editor remove multiple cursor functionality (#14387)
This commit is contained in:
parent
4416393d57
commit
debe6626fd
4 changed files with 4 additions and 0 deletions
1
changes/bug-11314-disable-multicursor-editor
Normal file
1
changes/bug-11314-disable-multicursor-editor
Normal file
|
|
@ -0,0 +1 @@
|
|||
- Fleet UI: Disable multicursor editing for SQL editors
|
||||
|
|
@ -104,6 +104,7 @@ const LabelForm = ({
|
|||
const onLoad = (editor: IAceEditor) => {
|
||||
editor.setOptions({
|
||||
enableLinking: true,
|
||||
enableMultiselect: false, // Disables command + click creating multiple cursors
|
||||
});
|
||||
|
||||
// @ts-expect-error
|
||||
|
|
|
|||
|
|
@ -179,6 +179,7 @@ const PolicyForm = ({
|
|||
const onLoad = (editor: IAceEditor) => {
|
||||
editor.setOptions({
|
||||
enableLinking: true,
|
||||
enableMultiselect: false, // Disables command + click creating multiple cursors
|
||||
});
|
||||
|
||||
// @ts-expect-error
|
||||
|
|
|
|||
|
|
@ -208,6 +208,7 @@ const QueryForm = ({
|
|||
const onLoad = (editor: IAceEditor) => {
|
||||
editor.setOptions({
|
||||
enableLinking: true,
|
||||
enableMultiselect: false, // Disables command + click creating multiple cursors
|
||||
});
|
||||
|
||||
// @ts-expect-error
|
||||
|
|
|
|||
Loading…
Reference in a new issue