@codemirror/view 0.19.17 → 0.19.18

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.19.18 (2021-11-16)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix an issue where the editor wasn't aware it was line-wrapping with its own `lineWrapping` extension enabled.
6
+
1
7
  ## 0.19.17 (2021-11-16)
2
8
 
3
9
  ### Bug fixes
package/dist/index.cjs CHANGED
@@ -3742,7 +3742,7 @@ handlers.beforeinput = (view, event) => {
3742
3742
  }
3743
3743
  };
3744
3744
 
3745
- const wrappingWhiteSpace = ["pre-wrap", "normal", "pre-line"];
3745
+ const wrappingWhiteSpace = ["pre-wrap", "normal", "pre-line", "break-spaces"];
3746
3746
  class HeightOracle {
3747
3747
  constructor() {
3748
3748
  this.doc = text.Text.empty;
package/dist/index.js CHANGED
@@ -3737,7 +3737,7 @@ handlers.beforeinput = (view, event) => {
3737
3737
  }
3738
3738
  };
3739
3739
 
3740
- const wrappingWhiteSpace = ["pre-wrap", "normal", "pre-line"];
3740
+ const wrappingWhiteSpace = ["pre-wrap", "normal", "pre-line", "break-spaces"];
3741
3741
  class HeightOracle {
3742
3742
  constructor() {
3743
3743
  this.doc = Text.empty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemirror/view",
3
- "version": "0.19.17",
3
+ "version": "0.19.18",
4
4
  "description": "DOM view component for the CodeMirror code editor",
5
5
  "scripts": {
6
6
  "test": "cm-runtests",