Skip to content

Tags: ProseMirror/prosemirror-transform

Tags

1.10.2

Toggle 1.10.2's commit message
Version 1.10.2

### Bug fixes

Allow `Transform.join` to clear incompatible inline content from the node after the join.

1.10.1

Toggle 1.10.1's commit message
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.

1.10.0

Toggle 1.10.0's commit message
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.

1.9.0

Toggle 1.9.0's commit message
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.

1.8.0

Toggle 1.8.0's commit message
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.

1.7.5

Toggle 1.7.5's commit message
Version 1.7.5

### Bug fixes

Fix a failure in `replaceRange` to drop wrapper nodes when the same wrapper is already present.

1.7.4

Toggle 1.7.4's commit message
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.

1.7.3

Toggle 1.7.3's commit message
Version 1.7.3

### Bug fixes

Fix a bug in `canSplit` that made it interpret the `typesAfter` argument incorrectly on splits of depth greater than 1.

1.7.2

Toggle 1.7.2's commit message
Version 1.7.2

### Bug fixes

Include CommonJS type declarations in the package to please new TypeScript resolution settings.

1.7.1

Toggle 1.7.1's commit message
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.