All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.5.2 (2021-10-04)
0.5.1 (2021-09-30)
- testing: add node 12 target (0074607)
- testing: replace react dom with testing-library/react (c42f746)
- workflows: remove node 12 target (3c428fa)
0.5.0 (2021-04-16)
-
withhistory: remove withHistoryStable
-
withhistory: remove withHistory implementation and other deprecated code (4f6187f)
0.4.0 (2021-04-16)
- deps: there are now two ways to apply withPlugins. as prePlugins and postPlugins. prePlugins are applied once to the editor before any extensions are applied and change the editor for it's entire lifecycle. Think of withReact and withHistory. postPlugins are applied after extensions are applied and may be modified during the editor lifecycle. For example a custom decorate method could be used as a postPlugin. postPlugins accept dependencies and can update while prePlugins never accept dependencies and never update.
- deps: upgrade dependencies (7093ad0), closes #2
- editable: add various editable events to the extensions api (4e9aacf)
0.3.3 (2021-02-16)
- filenames: fix filename case sensitivity (3e136c4)
0.3.2 (2021-02-16)
0.3.1 (2021-02-15)
0.3.0 (2021-02-15)
- middleware: All methods which were run one at a time such as insertBreak and onChange now require the user to call next to run the next method. Editor is no longer the first argument for isInline and isVoid
- insertbreak: add insert break to the editor methods that can be overridden (c4c9393)
- inserttext: implement insert text method on the editor (7a81d5b)
- middleware: reimplement most editor and slate methods as middleware (d7b0d94)
0.2.4 (2021-02-13)
0.2.3 (2021-02-08)
- useslatewithextensions: remove circular dependency (46c0e3f)
0.2.2 (2021-02-08)
- examples: upgrade node-forge to non-vulnerable version (29b0363)
0.2.1 (2021-02-07)
- plugins: remove useEffect from useSlateWithExtensions and add pluginDeps (adce7c6)
0.2.0 (2021-02-05)
- ondombeforeinput: Change semantics of onDOMBeforeInput so that the event can be handled by an extension. Strongle type the event type of onDOMBeforeInput as an InputEvent.
- ondombeforeinput: make ondombeforeinput preventable and make the event an input event (d535ce3)
- renderelement: allow renderElement to return void (137f666)