Skip to content

Trigger a search on key 'Shift-Enter' in lucene query editor #76

@fmassot

Description

@fmassot

Now that no query is run on query changes, we need to execute the query by clicking on the run button. From my point of view, we can't release with such a behavior. Did I miss something?

It's possible to have custom key binding with CodeMirror so we can fix that.

const keyMapExtension = keymap.of([
  {
    key: 'Shift-Enter',
    run: () => {
      // Do something
      return true
    }
  }
])

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions