remirror v1.0.0-next.55 Release Notes

Release Date: 2020-11-20 // over 3 years ago
  • ๐Ÿ†• 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.