@codemirror/view 6.21.0 → 6.21.1
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 +6 -0
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1653,7 +1653,8 @@ class ContentBuilder {
|
|
|
1653
1653
|
this.flushBuffer();
|
|
1654
1654
|
else
|
|
1655
1655
|
this.pendingBuffer = 0 /* Buf.No */;
|
|
1656
|
-
if (!
|
|
1656
|
+
if (!this.posCovered() &&
|
|
1657
|
+
!(openEnd && this.content.length && this.content[this.content.length - 1] instanceof BlockWidgetView))
|
|
1657
1658
|
this.getLine();
|
|
1658
1659
|
}
|
|
1659
1660
|
buildText(length, active, openStart) {
|
package/dist/index.js
CHANGED
|
@@ -1650,7 +1650,8 @@ class ContentBuilder {
|
|
|
1650
1650
|
this.flushBuffer();
|
|
1651
1651
|
else
|
|
1652
1652
|
this.pendingBuffer = 0 /* Buf.No */;
|
|
1653
|
-
if (!
|
|
1653
|
+
if (!this.posCovered() &&
|
|
1654
|
+
!(openEnd && this.content.length && this.content[this.content.length - 1] instanceof BlockWidgetView))
|
|
1654
1655
|
this.getLine();
|
|
1655
1656
|
}
|
|
1656
1657
|
buildText(length, active, openStart) {
|