@codemirror/view 6.39.6 → 6.39.7
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 +3 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2304,6 +2304,9 @@ class TileBuilder {
|
|
|
2304
2304
|
}
|
|
2305
2305
|
this.cache.reused.set(mark, 2 /* Reused.DOM */);
|
|
2306
2306
|
}
|
|
2307
|
+
let oldTile = Tile.get(composition.text);
|
|
2308
|
+
if (oldTile)
|
|
2309
|
+
this.cache.reused.set(oldTile, 2 /* Reused.DOM */);
|
|
2307
2310
|
let text = new TextTile(composition.text, composition.text.nodeValue);
|
|
2308
2311
|
text.flags |= 8 /* TileFlag.Composition */;
|
|
2309
2312
|
head.append(text);
|
package/dist/index.js
CHANGED
|
@@ -2300,6 +2300,9 @@ class TileBuilder {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
this.cache.reused.set(mark, 2 /* Reused.DOM */);
|
|
2302
2302
|
}
|
|
2303
|
+
let oldTile = Tile.get(composition.text);
|
|
2304
|
+
if (oldTile)
|
|
2305
|
+
this.cache.reused.set(oldTile, 2 /* Reused.DOM */);
|
|
2303
2306
|
let text = new TextTile(composition.text, composition.text.nodeValue);
|
|
2304
2307
|
text.flags |= 8 /* TileFlag.Composition */;
|
|
2305
2308
|
head.append(text);
|