Remirror: v1.0.0-next.55 Release

Release date:
November 20, 2020
Previous version:
v1.0.0-next.54 (released November 19, 2020)
Magnitude:
1,135 Diff Delta
Contributors:
2 total committers
Data confidence:
Commits:

Top Contributors in v1.0.0-next.55

ifiokjr
benjie

Directory Browser for v1.0.0-next.55

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

New Features

  • 1adea88a #801 Thanks @ifiokjr! - Add new primitive commands to CommandsExtension.

    • setBlockNodeType
    • toggleWrappingNode
    • toggleBlockNodeItem
    • wrapInNode
    • removeMark
  • ee1ab4f3 #805 Thanks @ifiokjr! - Add GetMarkRange interface to exports from @remirror/core-utils.

  • 1adea88a #801 Thanks @ifiokjr! - Improve type signatures of command utility functions to also include an optional range.

  • 4bdcac77 #805 Thanks @ifiokjr! - Add click and clickMark handlers to the EventsExtension. These new events are available to hooks created with useExtension(EventsExtension) and also exposed via the new createEventHandlers extension method. These methods provides utilities for determining whether the position clicked was within a specific node or mark.

  • b65ea785 #805 Thanks @ifiokjr! - Add onClick handler to LinkExtension which is called with the event: MouseEvent and data: LinkClickData which includes the href and all the GetMarkRange properties.

Export extra types from the @remirror/extension-link package.

  • LinkAttributes
  • LinkClickData
  • DefaultProtocol

    • 3ee20d40 #805 Thanks @ifiokjr! - Add onClick handler to MentionExtension which is called with event: MouseEvent and markRange: GetMarkRange.
    • c2268721 #805 Thanks @ifiokjr! - Add onClick handler to MentionAtomExtension which is called with the event: MouseEvent and nodeWithPosition: NodeWithPosition.

Fixes

  • 1adea88a #801 Thanks @ifiokjr! - Fix getChangedNodeRanges when resolving content that may no longer be within the range of the full document. This addresses the issues raised in #797 and #764.