6.8.1 • Published 7 months ago

@codemirror/commands v6.8.1

Weekly downloads
3,025
License
MIT
Repository
github
Last release
7 months ago

@codemirror/commands NPM version

[ WEBSITE | DOCS | ISSUES | FORUM | CHANGELOG ]

This package implements a collection of editing commands for the CodeMirror code editor.

The project page has more information, a number of examples and the documentation.

This code is released under an MIT license.

We aim to be an inclusive, welcoming community. To make that explicit, we have a code of conduct that applies to communication around the project.

Usage

import {EditorView, keymap} from "@codemirror/view"
import {standardKeymap, selectLine} from "@codemirror/commands"

const view = new EditorView({
  parent: document.body,
  extensions: [
    keymap.of([
      ...standardKeymap,
      {key: "Alt-l", mac: "Ctrl-l", run: selectLine}
    ])
  ]
})
@infinitebrahmanuniverse/nolb-_codemformula-parser-editor@everything-registry/sub-chunk-184codemirror-lang-http@shaderpad/core@salinity/scrimp@webwriter/ww-codesweepaisvelte-jsoneditorsvelte-jsoneditor-cnsvelte-jsoneditor-plussvelte-jsoneditor-taosvelte-html-componentssveltemirrorwackysubmarkdownntnstarboard-notebooksv-printvtvvue-codemirrorvitepress-python-editor@bpmn-io/feel-editor@bpmn-io/form-js-playground@pberganza/html-code-editor@praisecharts/studio-components@primo-app/primo@robocorp/ds@wearemanic/uibql-querier-betajafflejson-schema-enhanced-editor-reactjson-schema-enhanced-editor-vuekerfufflejupyter-divewidgetsjupyter-optmwidgetskmap-html-editorkitbookilla-builderimpaktapps-ui-buildersicp-bundleink-mde-lafink-editorink-mdehybrid-mdehomeassistant-frontend-racelandhls-easy-adminhf-richtexthauhdahdoahdoalocus-editor-uilu5-componentsmarkdown-plusmarktionlowcoder1kurwalake-codemirrormephistophelesmdsmark@waii-ai/widgets@wander-lang/wander-components@wenonly/html-viewer@windicss/shared-components@willyterry/feelers@weavy/uikit-web@wcfdehao/code-editor@webwriter/code@writewithocto/ink@trpc-playground/components@uiw/react-codemirror@tltoulson/editorjs-codemirror@tutorialkit/components-react@tutorialkit/react@tscircuit/code-editor@uiw/codemirror-extensions-basic-setup@temporalio/ui@tray-tecnologia/design-system@vinhnk/n8n-editor-ui@vidday/svelte-jsoneditor@vtrbo/codemirror@vuu-ui/vuu-codemirror@use-gpu/inspect-gpu@verbund/react-code-editor@viteplay/vue@viur/shoelace@viur/viur-shoelace@yettoapp/stheno@xlink-tools/fx@xonar/form-js-playground@y-block/cm@y-elm/started@zalastax/nolb-_codem@zerozillatechnologies/form-js-playground@zefhemel/silverbullet@terminusdb/tdb-react-test-npm@termsurf/leaf@terminusdb/terminusdb-react-documents-uiagitcmsatlas-jupyter-reactape-test-3-editor-uiape-test-4-editor-uiape-test-5-editor-ui
6.8.1

7 months ago

6.8.0

9 months ago

6.7.1

12 months ago

6.7.0

1 year ago

6.6.1

1 year ago

6.6.0

1 year ago

6.6.2

1 year ago

6.5.0

1 year ago

6.4.0

2 years ago

6.3.3

2 years ago

6.3.2

2 years ago

6.3.1

2 years ago

6.3.0

2 years ago

6.2.5

2 years ago

6.2.4

2 years ago

6.2.3

3 years ago

6.2.2

3 years ago

6.2.1

3 years ago

6.2.0

3 years ago

6.1.3

3 years ago

6.1.2

3 years ago

6.1.1

3 years ago

6.1.0

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

0.20.0

3 years ago

0.19.8

4 years ago

0.19.6

4 years ago

0.19.7

4 years ago

0.19.5

4 years ago

0.19.4

4 years ago

0.19.3

4 years ago

0.19.2

4 years ago

0.19.0

4 years ago

0.19.1

4 years ago

0.18.3

4 years ago

0.18.2

4 years ago

0.18.1

5 years ago

0.18.0

5 years ago

0.17.5

5 years ago

0.17.4

5 years ago

0.17.3

5 years ago

0.17.2

5 years ago

0.17.1

5 years ago

0.17.0

5 years ago