All Versions
79
Latest Version
Avg Release Cycle
3 days
Latest Release
1238 days ago

Changelog History
Page 1

  • v1.0.0-next.58 Changes

    November 29, 2020

    ๐Ÿ›  Fixes ๐Ÿ”ง

    • โšก๏ธ 3d3da227 #815 Thanks @ifiokjr! - Allow access to extension.store.currentState before the first state update. This fixes #814.
  • v1.0.0-next.57 Changes

    November 26, 2020

    ๐Ÿ›  Fixes

    4ae3c9b2 #812 Thanks @whawker! - Fix rendered HTML when selecting or applying marks to part of a link.

    Behaviour before fix.

    \<p\>\<a href="/"\>My partially\</a\>\<a href="/"\>\<span class="selection"\>selected\</span\>\</a\>\<a href="/"\>link\</a\>\</p\>
    

    Behaviour after fix.

    \<p\>\<a href="/"\> My partially \<span class="selection"\>selected\</span\> link \</a\>\</p\>
    
  • v1.0.0-next.56 Changes

    November 24, 2020

    ๐Ÿš€ > This is (hopefully ๐Ÿคž) the release before the beta release.

    ๐Ÿ›  Fixes

    cba35d51 #811 Thanks @whawker! - Fix positioners so they can be displayed as soon as they are added.

    ๐Ÿšš 01e5c2d2 #807 Thanks @ocavue! - Remove open-color from the dependencies. Check #806 for more details.

  • v1.0.0-next.55 Changes

    November 20, 2020

    ๐Ÿ†• 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.
  • v1.0.0-next.54 Changes

    November 19, 2020

    ๐Ÿ”‹ Features

    ๐Ÿ“ฆ b1df359b #780 Thanks @ocavue! - Add new@remirror/extension-codemirror5 package which can be used as an alternative to the @remirror/extension-codeblock for representing code blocks with syntax highlighting in your editor.

    ๐Ÿ“ฆ d720bcd4 #791 Thanks @ifiokjr! - Rename codemirror package to include the version number: @remirror/extension-codemirror5. This is to allow a future seperate version which supports codemirror@6.

    ๐Ÿ‘€ Make codemirror and @types/codemirror peer dependencies of the @remirror/extension-codemirror5 package. Most setups will need to install codemirror in order to add language support to the code editor. To avoid bundling multiple versions of the same codebase a peer dependency architecture seems to work.

    Minor Changes

    e9d95fa4 #786 Thanks @ifiokjr! - Export PrioritizedKeyBindings from @remirror/core and remirror/core entry points.

    ๐Ÿ”ง 1b5bf359 #788 Thanks @ifiokjr! - Make draggability configurable for MentionAtomExtension as mentioned in #777.

    ๐Ÿ›  Fixes

    ๐Ÿ›  8a6d5c34 #781 Thanks @whawker! - The behaviour of commands.updateLink.isEnabled() has been fixed to return false when the link mark can't be applied to the selection. This was fixed by a change in the @remirror/core-utils package.

    e9d95fa4 #786 Thanks @ifiokjr! - Fix problems around destroying the YjsExtension provider and the CMD+SHIFT+Z keymap not registering as mentioned in #772.

    ๐Ÿšš 1a0348e7 #789 Thanks @ifiokjr! - Fix removeMark when called with dispatch = undefined. This means that command.<NAME>.isEnabled() checks should all be fixed if they are using removeMark as mentioned in #784.

  • v1.0.0-next.53 Changes

    November 12, 2020

    ๐Ÿ›  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.

  • v1.0.0-next.52 Changes

    November 06, 2020

    Major Changes

    ๐Ÿฑ bdaa6af7 #767 Thanks @whawker! - ๐ŸŽ‰ New extension @remirror/extension-callout

    ๐Ÿ‘ This extension adds support for a new callout node.

    โš  These can be used to add info, warning, error or success banners to your document.

    0๏ธโƒฃ The default callout type is info, but this can be changed by using the defaultType option of CalloutExtension.

    import { RemirrorManager } from 'remirror/core';import { CalloutExtension } from 'remirror/extension/callout';import { CorePreset } from 'remirror/preset/core';// Create the callout extensionconst calloutExtension = new CalloutExtension();const corePreset = new CorePreset();// Create the Editor Manager with the callout extension passed through.const manager = RemirrorManager.create([calloutExtension, corePreset]);// Pass the dom element to the editor. If you are using `@remirror/react` or// other framework wrappers then this is handled for you.const element = document.createElement('div');document.body.append(element);// Add the view to the editor manager.manager.addView(element);// Wrap with an error callout at the current selectionmanager.store.commands.toggleCallout({ type: 'error' });
    

    caf2588d #766 Thanks @ronnyroeller! - Allow links to be clickable

    0๏ธโƒฃ Anchor tags in contenteditable are not clickable by default. To allow users nonetheless to open them, this commit adds an optional clickhandler to open the link.

    Patch Changes

    • ๐Ÿ›  3da2b5fd Thanks @ifiokjr! - Fixes #768 error when addYouTubeVideo.isEnabled() is called.
  • v1.0.0-next.51 Changes

    October 27, 2020

    Major Changes

    • ๐Ÿ’ฅ b79e4142 #761 Thanks @whawker! - BREAKING avoid using the paste rule if autoLink is enabled for LinkExtension
  • v1.0.0-next.50 Changes

    October 15, 2020

    Minor Changes

    • 0๏ธโƒฃ d27c6e1a #758 Thanks @ifiokjr! - Pass through defaultAppendTextValue property to onChange handler of MentionExtension.
    • โšก๏ธ 359486f6 #754 Thanks @whawker! - Add an onUpdatedLink event handler to the link extension for determining when a link has been added to the document.

    - ๐Ÿ‘ d27c6e1a #758 Thanks @ifiokjr! - Support EditorState | Selection | ResolvedPos for the findParentNodeOfType function.

    • d27c6e1a #758 Thanks @ifiokjr! - Don't append text to useMention hook command when content after starts with whitespace.

    Patch Changes

  • v1.0.0-next.49 Changes

    October 10, 2020

    Patch Changes

    ๐Ÿ‘€ cd91b689 Thanks @ifiokjr! - Fix command for useEmoji when called asynchronously.

    ๐ŸŽ 049134a3 #749 Thanks @ifiokjr! - Add types for the virtualNode property on the useMultiPositioner and usePositioner hooks. Also improve performance with useLayoutEffect instead of useEffect.