prosemirror-transform
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -0,1 +1,7 @@ | ||
## 1.0.10 (2018-04-15) | ||
### Bug fixes | ||
[`Transform.setBlockType`](https://prosemirror.net/docs/ref/#transform.Transform.setBlockType) no longer drops marks on the nodes it updates. | ||
## 1.0.9 (2018-04-05) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-transform", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "ProseMirror document transformations", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -126,3 +126,3 @@ import {Slice, Fragment} from "prosemirror-model" | ||
this.step(new ReplaceAroundStep(startM, endM, startM + 1, endM - 1, | ||
new Slice(Fragment.from(type.create(attrs)), 0, 0), 1, true)) | ||
new Slice(Fragment.from(type.create(attrs, null, node.marks)), 0, 0), 1, true)) | ||
return false | ||
@@ -129,0 +129,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
278136