Skip to content

Tags: ProseMirror/prosemirror-state

Tags

1.4.3

Version 1.4.3

### Bug fixes

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

1.4.2

Version 1.4.2

### Bug fixes

Make sure the `this` bindings in editor props defined as part of a plugin spec refers to the proper plugin type.

1.4.1

Version 1.4.1

### Bug fixes

Make the `SelectionRange` constructor public in the types.

1.4.0

Version 1.4.0

### Bug fixes

Creating a `TextSelection` with endpoints that don't point at inline positions now emits a warning. (It is technically an error, but crashing on it might be too disruptive for some existing setups.)

### New features

Include TypeScript type declarations.

1.3.4

Version 1.3.4

### Bug fixes

Remove (broken, poorly conceptualized) `schema` option to `EditorState.reconfigure`.

1.3.3

Version 1.3.3

### Bug fixes

When deleting a whole-document-selection causes default content to be generated, make sure the selection is moved to the start of the document.

1.3.2

Version 1.3.2

### Bug fixes

Rename ES module files to use a .js extension, since Webpack gets confused by .mjs

1.3.1

Version 1.3.1

### Bug fixes

The file referred to in the package's `module` field now is compiled down to ES5.

1.3.0

Version 1.3.0

### New features

Add a `module` field to package json file.

1.2.4

Version 1.2.4

### Bug fixes

`Transaction.setSelection` now immediately checks whether the given selection points into the proper document, rather than silently accepting an invalid selection.