@ws-ui/code-editor 1.11.0 → 1.11.2

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.
package/dist/index.es.js CHANGED
@@ -1366,6 +1366,7 @@ const Qt = new RegExp("^[ s]+(exposed|Function)", "i"), en = ({
1366
1366
  const { initialLineInfo: f, initialSelectionInfo: A } = s, { editor: p, setEditor: F } = Xt(), { inited: x } = I;
1367
1367
  function S(c) {
1368
1368
  i === "css" && c.languages.css && (c.languages.registerCompletionItemProvider("css", Kt), c.languages.css.cssDefaults.setModeConfiguration({
1369
+ ...c.languages.css.cssDefaults.modeConfiguration,
1369
1370
  documentFormattingEdits: !1,
1370
1371
  documentRangeFormattingEdits: !1
1371
1372
  }), q.css.forEach((L) => L.dispose()), q.css.push(
@@ -1388,6 +1389,7 @@ const Qt = new RegExp("^[ s]+(exposed|Function)", "i"), en = ({
1388
1389
  }
1389
1390
  ]
1390
1391
  }), c.languages.json.jsonDefaults.setModeConfiguration({
1392
+ ...c.languages.json.jsonDefaults.modeConfiguration,
1391
1393
  documentFormattingEdits: !1,
1392
1394
  documentRangeFormattingEdits: !1
1393
1395
  }), q.json.forEach((L) => L.dispose()), q.json.push(