You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 1.10.1
### Bug fixes
Fix an issue where a `deleteRange` heuristic could produce unexpected deletion shapes.
Make `Transform.join` convert between newlines and line break replacement nodes when necessary.
Version 1.10.0
### New features
`setBlockType` can now take a function that computes attributes for the new nodes, instead of a static attribute object.
Version 1.9.0
### Bug fixes
Fix an issue in `ReplaceAroundStep.map` that broke mapping steps that wrapped content over steps that inserted content at the start of the step.
### New features
`setBlockMarkup` now uses the linebreak equivalent node defined in the schema.
Version 1.8.0
### New features
The new `DocAttrStep` can be used to set attributes on the document's top node.
`Transform.setDocAttribute` can be used to create a `DocAttrStep` in a transform.
Version 1.7.4
### Bug fixes
When using `setBlockType` to convert a code block to a type of node that doesn't contain code, replace newlines with spaces.
Version 1.7.1
### Bug fixes
Keep content in isolating nodes inside their parent when fitting a replace step.
`Transform.setNodeMarkup` will no longer clear the node's marks when it isn't given an array of marks.