@dxos/react-ui-editor 0.4.8-main.c1580f6 → 0.4.8-main.c2effdb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2216,6 +2216,7 @@ var defaults = {
2216
2216
  drawSelection: true,
2217
2217
  editable: true,
2218
2218
  history: true,
2219
+ standardKeymap: true,
2219
2220
  lineWrapping: true,
2220
2221
  search: true
2221
2222
  };
@@ -2226,7 +2227,7 @@ var createBasicExtensions = (_props) => {
2226
2227
  EditorView10.exceptionSink.of((err) => {
2227
2228
  log7.catch(err, void 0, {
2228
2229
  F: __dxlog_file9,
2229
- L: 83,
2230
+ L: 85,
2230
2231
  S: void 0,
2231
2232
  C: (f, a) => f(...a)
2232
2233
  });
@@ -2252,9 +2253,11 @@ var createBasicExtensions = (_props) => {
2252
2253
  // https://codemirror.net/docs/ref/#view.KeyBinding
2253
2254
  keymap5.of([
2254
2255
  // https://codemirror.net/docs/ref/#commands.standardKeymap
2255
- ...standardKeymap,
2256
+ ...props.standardKeymap ? standardKeymap : [],
2256
2257
  // https://codemirror.net/docs/ref/#commands.indentWithTab
2257
- props.indentWithTab && indentWithTab,
2258
+ ...props.indentWithTab ? [
2259
+ indentWithTab
2260
+ ] : [],
2258
2261
  // https://codemirror.net/docs/ref/#autocomplete.closeBracketsKeymap
2259
2262
  ...props.closeBrackets ? closeBracketsKeymap : [],
2260
2263
  // https://codemirror.net/docs/ref/#commands.historyKeymap