prosemirror-view
Advanced tools
Comparing version
@@ -0,1 +1,7 @@ | ||
## 1.15.4 (2020-08-13) | ||
### Bug fixes | ||
Fix a crash that occurred when inline decorations covered inline nodes that weren't leaf nodes. | ||
## 1.15.3 (2020-08-11) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-view", | ||
"version": "1.15.3", | ||
"version": "1.15.4", | ||
"description": "ProseMirror's view component", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1246,3 +1246,3 @@ import {DOMSerializer, Fragment, Mark} from "prosemirror-model" | ||
let outerDeco = !active.length ? nothing | ||
: child.isInline && !child.isLeaf ? outerDeco.filter(d => !d.inline) | ||
: child.isInline && !child.isLeaf ? active.filter(d => !d.inline) | ||
: active.slice() | ||
@@ -1249,0 +1249,0 @@ onNode(child, outerDeco, deco.forChild(offset, child), index) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1429152
0.01%