Remirror: v1.0.0-next.53 Release

Release date:
November 12, 2020
Previous version:
v1.0.0-next.52 (released November 6, 2020)
Magnitude:
207 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in v1.0.0-next.53

whawker

Directory Browser for v1.0.0-next.53

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

Release Notes Published

Fixes

  • a1d65df6 #775 Thanks @whawker! - Fixes extensions that were erroneously adding extra attributes to the DOM twice.

Attributes were correctly added using their toDOM handler, but also incorrectly in their raw form.

Example

  const linkExtension = new LinkExtension({
    extraAttributes: {
      custom: {
        default: 'my default',
        parseDOM: (dom) => dom.getAttribute('data-custom'),
        toDOM: (attrs) => ['data-custom', attrs.custom],
      },
    },
  });

Resulted in

  <a data-custom="my default" custom="my default" <!-- extra attribute rendered in raw form -->
    href="https://remirror.io" rel="noopener noreferrer nofollow"></a
  >
  • 5fd944c6 #770 Thanks @whawker! - Prevent callouts being merged when removing content in between callout nodes.