@dxos/react-ui-editor 0.4.4-main.e9abdca → 0.4.4-main.f9887fe
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/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/extensions/basic.d.ts +2 -1
- package/dist/types/src/extensions/basic.d.ts.map +1 -1
- package/package.json +24 -24
- package/src/extensions/basic.ts +3 -1
- package/src/extensions/markdown/image.ts +1 -1
|
@@ -715,10 +715,10 @@ import { bracketMatching, defaultHighlightStyle, syntaxHighlighting } from "@cod
|
|
|
715
715
|
import { oneDarkHighlightStyle } from "@codemirror/theme-one-dark";
|
|
716
716
|
import { drawSelection, EditorView as EditorView4, highlightActiveLine, placeholder } from "@codemirror/view";
|
|
717
717
|
import { isNotFalsy as isNotFalsy2 } from "@dxos/util";
|
|
718
|
-
var createBasicBundle = ({ themeMode, placeholder: _placeholder, lineWrapping = true } = {}) => [
|
|
718
|
+
var createBasicBundle = ({ themeMode, placeholder: _placeholder, lineWrapping = true, bracketMatching: _bracketMatching = true } = {}) => [
|
|
719
719
|
lineWrapping && EditorView4.lineWrapping,
|
|
720
720
|
// https://codemirror.net/docs/ref/#codemirror.minimalSetup
|
|
721
|
-
bracketMatching(),
|
|
721
|
+
_bracketMatching && bracketMatching(),
|
|
722
722
|
closeBrackets(),
|
|
723
723
|
drawSelection(),
|
|
724
724
|
highlightActiveLine(),
|