Remirror: [email protected] Release

Release date:
April 20, 2022
Previous version:
[email protected] (released April 6, 2022)
Magnitude:
1,184 Diff Delta
Contributors:
4 total committers
Data confidence:
Commits:

Top Contributors in [email protected]

remirror-bot
kainosnoema
whawker
ocavue

Directory Browser for [email protected]

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

Release Notes Published

2022-04-20

Patch Changes

  • Prevent italic input rule activation in middle of words

  • Reorder the external plugins of the tables extensions, to avoid highlighting cells while resizing.

Proposed by Pierre_ on Discord

  • Prevent marks in MentionAtom, to prevent input rules being triggered within the node

  • Fix an error with auto link preventing input rules at the end of a document

  • Create a "stepping stone" for future standardisation of useEvent types

Add a second parameter to handlers for hover and contextmenu types, so we can eventually standarise the hook to pass event as the first argument.

  const handleHover = useCallback(({ event: MouseEvent }, props: HoverEventHandlerState) => {
    const { getNode, hovering, ...rest } = props;
    console.log('node', getNode(), 'is hovering', hovering, 'rest', rest);

    return false;
  }, []);

  useEvent('hover', handleHover);