Socket
Socket
Sign inDemoInstall

prosemirror-commands

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-commands - npm Package Versions

2345

1.6.0

Diff

Changelog

Source

1.6.0 (2024-07-26)

Bug fixes

Fix an issue where joinBackward couldn't lift the block with the cursor when the block before it was isolating.

New features

toggleMark now takes an option that controls its behavior when only part of the selection has the mark already.

The function given to splitBlockAs now has access to the split position via a third parameter.

toggleMark now takes an enterInlineAtoms option that controls whether it descends into atom nodes.

marijn
published 1.5.2 •

Changelog

Source

1.5.2 (2023-05-17)

Bug fixes

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

marijn
published 1.5.1 •

Changelog

Source

1.5.1 (2023-03-01)

Bug fixes

Fix joinTextblockBackward not applying when the textblock before was wrapped in another node.

marijn
published 1.5.0 •

Changelog

Source

1.5.0 (2022-12-05)

New features

The new splitBlockAs command-builder allows you to pass in custom logic to determine the type of block that should be split off.

marijn
published 1.4.0 •

Changelog

Source

1.4.0 (2022-12-01)

Bug fixes

Make setBlockType act on all selection ranges in selections that have them.

New features

The new joinTextblockForward and joinTextblockBackward commands provide a more primitive command for delete/backspace behavior when you don't want the extra strategies implemented by joinForward/joinBackward.

marijn
published 1.3.1 •

Changelog

Source

1.3.1 (2022-09-08)

Bug fixes

Make sure toggleMark doesn't add marks to top nodes with non-inline content.

marijn
published 1.3.0 •

Changelog

Source

1.3.0 (2022-05-30)

New features

Include TypeScript type declarations.

marijn
published 1.3.0-beta.1 •

marijn
published 1.2.2 •

Changelog

Source

1.2.2 (2022-03-16)

Bug fixes

Don't override behavior of Home and End keys in base keymap.

marijn
published 1.2.1 •

Changelog

Source

1.2.1 (2022-01-20)

Bug fixes

Fix an issue where joinBackward and joinForward would return true when activated with the cursor in an empty but undeletable block, but not make any change.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc