2022-07-13
- Use official TypeScript type definitions from ProseMirror.
- Migrate to pure ESM!
-
Add a new Jest matcher
toEqualRemirrorState
, which can check thatEditorState
passed in has the same document and same selection as the expected tagged document.test('jest test', () => { // Only checks that the document is the same expect(view.state).toEqualRemirrorState(doc(p(`This is SPARTA`))); // Checks both document and selection expect(view.state).toEqualRemirrorState(doc(p(`This is <head>SPARTA<anchor>`))); expect(view.state).not.toEqualRemirrorState(doc(p(`This is <cursor>SPARTA`))); });
-
Removes the following CSS variables:
--rmr-color-selection-background: Highlight; --rmr-color-selection-shadow: inherit; --rmr-color-selection-text: HighlightText; --rmr-color-selection-caret: inherit;
This brings more natural selection colors to the editor.
-
Update prosemirror packages.
-
Update ProseMirror packages to latest versions.
-
SSR features are removed.
-
Correct diff message ouputed by
toEqualRemirrorState
. -
Set style
white-space
asbreak-spaces
to wrap end-of-lines spaces. -
Standardize the
contextmenu
andhover
events to return event as first parameter -
Try to require JSDOM implicitly in node environment.
-
Update ProseMirror packages.
-
Expose the return type of the throttle and debounce helpers
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
- @remirror/dom@2.0.0-beta.8
- @remirror/preset-core@2.0.0-beta.8
- @remirror/pm@2.0.0-beta.8
- jest-prosemirror@2.0.0-beta.8
- @remirror/core@2.0.0-beta.8
2022-07-11
- Migrate to pure ESM!
- Use official TypeScript type definitions from ProseMirror.
-
Add a new Jest matcher
toEqualRemirrorState
, which can check thatEditorState
passed in has the same document and same selection as the expected tagged document.test('jest test', () => { // Only checks that the document is the same expect(view.state).toEqualRemirrorState(doc(p(`This is SPARTA`))); // Checks both document and selection expect(view.state).toEqualRemirrorState(doc(p(`This is <head>SPARTA<anchor>`))); expect(view.state).not.toEqualRemirrorState(doc(p(`This is <cursor>SPARTA`))); });
-
SSR features are removed.
-
Correct diff message ouputed by
toEqualRemirrorState
. -
Update ProseMirror packages to latest versions.
-
Set style
white-space
asbreak-spaces
to wrap end-of-lines spaces. -
Removes the following CSS variables:
--rmr-color-selection-background: Highlight; --rmr-color-selection-shadow: inherit; --rmr-color-selection-text: HighlightText; --rmr-color-selection-caret: inherit;
This brings more natural selection colors to the editor.
-
Update prosemirror packages.
-
Update ProseMirror packages.
-
Try to require JSDOM implicitly in node environment.
-
Standardize the
contextmenu
andhover
events to return event as first parameter -
Expose the return type of the throttle and debounce helpers
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
- @remirror/core@2.0.0-beta.7
- @remirror/dom@2.0.0-beta.7
- @remirror/preset-core@2.0.0-beta.7
- @remirror/pm@2.0.0-beta.7
- jest-prosemirror@2.0.0-beta.7
2022-07-08
- Migrate to pure ESM!
- Use official TypeScript type definitions from ProseMirror.
-
Add a new Jest matcher
toEqualRemirrorState
, which can check thatEditorState
passed in has the same document and same selection as the expected tagged document.test('jest test', () => { // Only checks that the document is the same expect(view.state).toEqualRemirrorState(doc(p(`This is SPARTA`))); // Checks both document and selection expect(view.state).toEqualRemirrorState(doc(p(`This is <head>SPARTA<anchor>`))); expect(view.state).not.toEqualRemirrorState(doc(p(`This is <cursor>SPARTA`))); });
-
Set style
white-space
asbreak-spaces
to wrap end-of-lines spaces. -
Update ProseMirror packages to latest versions.
-
Expose the return type of the throttle and debounce helpers
-
SSR features are removed.
-
Try to require JSDOM implicitly in node environment.
-
Standardize the
contextmenu
andhover
events to return event as first parameter -
Correct diff message ouputed by
toEqualRemirrorState
. -
Update prosemirror packages.
-
Removes the following CSS variables:
--rmr-color-selection-background: Highlight; --rmr-color-selection-shadow: inherit; --rmr-color-selection-text: HighlightText; --rmr-color-selection-caret: inherit;
This brings more natural selection colors to the editor.
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
- @remirror/dom@2.0.0-beta.6
- @remirror/preset-core@2.0.0-beta.6
- @remirror/pm@2.0.0-beta.6
- jest-prosemirror@2.0.0-beta.6
- @remirror/core@2.0.0-beta.6
2022-07-01
- Migrate to pure ESM!
- Use official TypeScript type definitions from ProseMirror.
-
Add a new Jest matcher
toEqualRemirrorState
, which can check thatEditorState
passed in has the same document and same selection as the expected tagged document.test('jest test', () => { // Only checks that the document is the same expect(view.state).toEqualRemirrorState(doc(p(`This is SPARTA`))); // Checks both document and selection expect(view.state).toEqualRemirrorState(doc(p(`This is <head>SPARTA<anchor>`))); expect(view.state).not.toEqualRemirrorState(doc(p(`This is <cursor>SPARTA`))); });
-
Correct diff message ouputed by
toEqualRemirrorState
. -
Try to require JSDOM implicitly in node environment.
-
Expose the return type of the throttle and debounce helpers
-
Update ProseMirror packages to latest versions.
-
Removes the following CSS variables:
--rmr-color-selection-background: Highlight; --rmr-color-selection-shadow: inherit; --rmr-color-selection-text: HighlightText; --rmr-color-selection-caret: inherit;
This brings more natural selection colors to the editor.
-
Update prosemirror packages.
-
SSR features are removed.
-
Standardize the
contextmenu
andhover
events to return event as first parameter -
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
- jest-prosemirror@2.0.0-beta.5
- @remirror/core@2.0.0-beta.5
- @remirror/dom@2.0.0-beta.5
- @remirror/preset-core@2.0.0-beta.5
- @remirror/pm@2.0.0-beta.5
2022-06-29
- Use official TypeScript type definitions from ProseMirror.
- Migrate to pure ESM!
-
Add a new Jest matcher
toEqualRemirrorState
, which can check thatEditorState
passed in has the same document and same selection as the expected tagged document.test('jest test', () => { // Only checks that the document is the same expect(view.state).toEqualRemirrorState(doc(p(`This is SPARTA`))); // Checks both document and selection expect(view.state).toEqualRemirrorState(doc(p(`This is <head>SPARTA<anchor>`))); expect(view.state).not.toEqualRemirrorState(doc(p(`This is <cursor>SPARTA`))); });
- Correct diff message ouputed by
toEqualRemirrorState
. - Update prosemirror packages.
- SSR features are removed.
- Update ProseMirror packages to latest versions.
- Standardize the
contextmenu
andhover
events to return event as first parameter - Expose the return type of the throttle and debounce helpers
- Try to require JSDOM implicitly in node environment.
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- @remirror/pm@2.0.0-beta.4
- jest-prosemirror@2.0.0-beta.4
- @remirror/core@2.0.0-beta.4
- @remirror/dom@2.0.0-beta.4
- @remirror/preset-core@2.0.0-beta.4
2022-06-26
- Use official TypeScript type definitions from ProseMirror.
- Migrate to pure ESM!
-
Add a new Jest matcher
toEqualRemirrorState
, which can check thatEditorState
passed in has the same document and same selection as the expected tagged document.test('jest test', () => { // Only checks that the document is the same expect(view.state).toEqualRemirrorState(doc(p(`This is SPARTA`))); // Checks both document and selection expect(view.state).toEqualRemirrorState(doc(p(`This is <head>SPARTA<anchor>`))); expect(view.state).not.toEqualRemirrorState(doc(p(`This is <cursor>SPARTA`))); });
- Update prosemirror packages.
- Standardize the
contextmenu
andhover
events to return event as first parameter - Expose the return type of the throttle and debounce helpers
- SSR features are removed.
- Update ProseMirror packages to latest versions.
- Correct diff message ouputed by
toEqualRemirrorState
. - Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- @remirror/pm@2.0.0-beta.3
- jest-prosemirror@2.0.0-beta.3
- @remirror/core@2.0.0-beta.3
- @remirror/dom@2.0.0-beta.3
- @remirror/preset-core@2.0.0-beta.3
2022-06-26
- Migrate to pure ESM!
- Use official TypeScript type definitions from ProseMirror.
-
Add a new Jest matcher
toEqualRemirrorState
, which can check thatEditorState
passed in has the same document and same selection as the expected tagged document.test('jest test', () => { // Only checks that the document is the same expect(view.state).toEqualRemirrorState(doc(p(`This is SPARTA`))); // Checks both document and selection expect(view.state).toEqualRemirrorState(doc(p(`This is <head>SPARTA<anchor>`))); expect(view.state).not.toEqualRemirrorState(doc(p(`This is <cursor>SPARTA`))); });
- Standardize the
contextmenu
andhover
events to return event as first parameter - SSR features are removed.
- Update prosemirror packages.
- Update ProseMirror packages to latest versions.
- Expose the return type of the throttle and debounce helpers
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- jest-prosemirror@2.0.0-beta.2
- @remirror/core@2.0.0-beta.2
- @remirror/dom@2.0.0-beta.2
- @remirror/pm@2.0.0-beta.2
- @remirror/preset-core@2.0.0-beta.2
2022-06-20
- Use official TypeScript type definitions from ProseMirror.
- Migrate to pure ESM!
- Standardize the
contextmenu
andhover
events to return event as first parameter - SSR features are removed.
- Expose the return type of the throttle and debounce helpers
- Update ProseMirror packages to latest versions.
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- @remirror/dom@2.0.0-beta.1
- @remirror/preset-core@2.0.0-beta.1
- @remirror/core@2.0.0-beta.1
- jest-prosemirror@2.0.0-beta.1
- @remirror/pm@2.0.0-beta.1
2022-05-31
- Use official TypeScript type definitions from ProseMirror.
- Updated dependencies
- jest-prosemirror@2.0.0-beta.0
- @remirror/core@2.0.0-beta.0
- @remirror/dom@2.0.0-beta.0
- @remirror/pm@2.0.0-beta.0
- @remirror/preset-core@2.0.0-beta.0
2022-05-31
-
Lock ProseMirror pacakges to lower versions.
The latest ProseMirror includes the buit-in TypeScript declaration, which is incompatible with the TypeScript definition in Remirror v1.
See also: https://discuss.prosemirror.net/t/prosemirror-is-now-a-typescript-project/4624
-
Updated dependencies []:
- @remirror/pm@1.0.20
- jest-prosemirror@1.0.29
2022-05-31
- Add the ability to remove all marks via the
removeMark
command, by passing{ type: null }
-
Fix
removeMark
to support multiple mark ranges -
Updated dependencies []:
- @remirror/core@1.4.6
- @remirror/dom@1.0.30
- @remirror/preset-core@1.0.29
- jest-prosemirror@1.0.28
2022-05-24
-
Add a built in extension allowing external code to subscribe to document changes.
manager.getExtension(DocChangedExtension).addHandler('docChanged', mock);
-
Updated dependencies []:
- @remirror/core@1.4.5
- @remirror/dom@1.0.29
- @remirror/preset-core@1.0.28
2022-05-18
- Add support for parsing CSS functions (
min,
maxand
clamp) to
extractPixelSize`.
-
Fix paste of tables in React Tables extension
-
Updated dependencies []:
- jest-prosemirror@1.0.27
- @remirror/core@1.4.4
- @remirror/dom@1.0.28
- @remirror/preset-core@1.0.27
2022-05-16
-
Fix open depths in node paste rules.
When excuting a node paste rule, only reset open depths (openStart and openEnd) when the node paste rule is actually applied and it's for a block node.
This patch will fix the extra paragraph after pasting text.
-
Throw error when receiving a non-top-level node.
-
Updated dependencies []:
- jest-prosemirror@1.0.26
- @remirror/pm@1.0.19
2022-05-05
- Add a new option
selectionBuilder
inYjsOptions
, which will be passed toyCursorPlugin
directly.
- Update ProseMirror packages.
- Update
y-prosemirror
to^1.0.19
.
-
Allow
transformMatch
to invalidate a paste rule by explicitly returningfalse
-
Updated dependencies []:
- jest-prosemirror@1.0.25
- @remirror/pm@1.0.18
2022-05-03
-
Paste multiple block nodes correctly.
-
Updated dependencies []:
- jest-prosemirror@1.0.24
- @remirror/pm@1.0.17
2022-04-26
-
Update dependencies.
-
Updated dependencies []:
- jest-prosemirror@1.0.23
2022-04-21
-
Avoid adding
pluginState
to the constructor, as it leading to sharing between multiple instances -
Updated dependencies []:
- @remirror/core@1.4.3
- @remirror/dom@1.0.27
- @remirror/preset-core@1.0.26
2022-04-20
- 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
andcontextmenu
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);
-
Updated dependencies []:
- jest-prosemirror@1.0.22
- @remirror/core@1.4.2
- @remirror/dom@1.0.26
- @remirror/preset-core@1.0.25
2022-04-04
-
Update dependency prosemirror-view.
-
Updated dependencies []:
- @remirror/pm@1.0.16
- jest-prosemirror@1.0.21
2022-03-31
-
Add support for Unicode Regexp in suggestion matching.
The change was required to support matching non-latin characters in
MentionAtomExtension
andMentionExtension
i.e. by usingsupportedCharacters: /\p{Letter}+/u
inmatchers
definition.There is no need to update the code: changes are backwards compatible with no behavior change at all.
-
Updated dependencies []:
- jest-prosemirror@1.0.20
- @remirror/pm@1.0.15
2022-03-25
-
Add an
isViewEditable
helper to determine if the view content is editable.Expose the return type of
onAppendTransaction
-
Add client rect methods when createRange is not available
-
Updated dependencies []:
- @remirror/core@1.4.1
- @remirror/dom@1.0.25
- @remirror/preset-core@1.0.24
2022-03-17
-
Expose appended transactions via the onChange handler
-
Updated dependencies []:
- @remirror/core@1.4.0
- @remirror/dom@1.0.24
- @remirror/preset-core@1.0.23
2022-03-08
-
When using
prosemirror-suggest
, ifappendTransaction
istrue
, make sure the match state will be updated after every transaction. -
Updated dependencies []:
- jest-prosemirror@1.0.19
- @remirror/pm@1.0.14
2022-03-06
-
onChange
shouldn't be called if the transaction is canceled byfilterTransaction
. -
Updated dependencies []:
- @remirror/dom@1.0.23
2022-03-06
- Add
default
filed in thepackage.json
.
2022-03-04
-
Add the ability to force update positioners with a new command
forceUpdatePositioners
.This can be useful to update positioners when the view is updated in a way that doesn't trigger a ProseMirror state change. For instance when an image URL is loaded and the document is reflowed.
-
Updated dependencies []:
- @remirror/dom@1.0.22
- @remirror/preset-core@1.0.22
2022-03-01
- Fix an issue that causes the selected text being deleted when pasting.
-
Make the result more accurate when pasting plain text from the clipboard.
-
Updated dependencies []:
- jest-prosemirror@1.0.18
- @remirror/pm@1.0.13
2022-02-25
- Fixes an issue that causes invalid duplicate marks when using
pasteRules
plugin.
-
Fixes an issue that causes some text nodes to be deleted when using
replaceSelection
. -
Updated dependencies []:
- jest-prosemirror@1.0.17
- @remirror/pm@1.0.12
2022-02-22
-
Fix auto link behaviour when performing an undo.
Return only unique ranges from
getChangedRanges
. -
Updated dependencies []:
- jest-prosemirror@1.0.16
- @remirror/core@1.3.6
- @remirror/dom@1.0.21
- @remirror/preset-core@1.0.21
2022-02-09
-
Fix Ctrl+Click making the selected text invisible on Windows
-
Updated dependencies []:
- @remirror/dom@1.0.20
- @remirror/preset-core@1.0.20
2022-02-08
-
Add support for attribute filtering for
useActive
anduseAttrs
hooks when used with marks.This provides consistent behaviour for the hook, aligning with functionality provided for node types.
const active = useActive(); // Previously this ignored passed attributes and only checked the mark's type // // Now this will only return true if mark type is active AND its color attribute is red const isActive = active.textColor({ color: 'red' });
-
Updated dependencies []:
- @remirror/core@1.3.5
- @remirror/dom@1.0.19
- @remirror/preset-core@1.0.19
- jest-prosemirror@1.0.15
2022-02-04
-
Simplify how auto link works in the link extension, to simplify maintainance and fix a few issues.
-
Updated dependencies []:
- jest-prosemirror@1.0.14
- @remirror/core@1.3.4
- @remirror/dom@1.0.18
- @remirror/preset-core@1.0.18
2022-01-17
-
Update ProseMirror dependencies.
-
Updated dependencies []:
- @remirror/pm@1.0.11
- jest-prosemirror@1.0.13
2022-01-11
-
Deprecate
getTheme
andgetThemeProps
in favour of new methodsgetThemeVar
andgetThemeVarName
.This removes a code path that used an ES6 Proxy, which cannot be polyfilled.
getTheme((t) => t.color.primary.text) => `var(--rmr-color-primary-text)` getThemeProps((t) => t.color.primary.text) => `--rmr-color-primary-text`
getThemeVar('color', 'primary', 'text') => `var(--rmr-color-primary-text)` getThemeVarName('color', 'primary', 'text') => `--rmr-color-primary-text`
-
Updated dependencies []:
- @remirror/dom@1.0.17
- @remirror/preset-core@1.0.17
2022-01-03
-
Make sure that "main", "module" and "types" fields within the
package.json
are prefixed with./
. This is a best practice according to node.js, esbuild and vite's documentation. -
Updated dependencies []:
- @remirror/core@1.3.3
- @remirror/dom@1.0.16
- jest-prosemirror@1.0.12
- @remirror/pm@1.0.10
- @remirror/preset-core@1.0.16
2021-12-17
-
Fix types of copy and paste event handlers
-
Updated dependencies []:
- @remirror/dom@1.0.15
- @remirror/preset-core@1.0.15
2021-12-06
-
Update ProseMirror dependencies.
-
Updated dependencies []:
- @remirror/pm@1.0.9
- jest-prosemirror@1.0.11
2021-11-23
-
Fix the browser exports paths in
package.json
. -
Updated dependencies []:
- jest-prosemirror@1.0.10
- @remirror/pm@1.0.8
- @remirror/core@1.3.2
- @remirror/dom@1.0.14
- @remirror/preset-core@1.0.14
2021-11-23
- Fix an issue that causes uploading files failed to be updated after a replace step.
-
Update ProseMirror dependencies.
-
Updated dependencies []:
- @remirror/core@1.3.1
- @remirror/dom@1.0.13
- @remirror/preset-core@1.0.13
- @remirror/pm@1.0.7
- jest-prosemirror@1.0.9
2021-11-10
-
Add new method
hasHandlers
to extensions. -
Updated dependencies []:
- @remirror/core@1.3.0
- @remirror/dom@1.0.12
- @remirror/preset-core@1.0.12
2021-11-04
-
Always reset regexp lastIndex before matching.
-
Updated dependencies []:
- jest-prosemirror@1.0.8
- @remirror/core@1.2.2
- @remirror/dom@1.0.11
- @remirror/pm@1.0.6
- @remirror/preset-core@1.0.11
2021-10-29
-
Update prosemirror packages.
-
Updated dependencies []:
- @remirror/pm@1.0.5
- jest-prosemirror@1.0.7
2021-10-23
-
Fix types so extraAttributes can be any JSON primitivee value
Previously only strings were allowed, now any JSON primitive value maybe used as an extraAttributes value
-
Updated dependencies []:
- @remirror/core@1.2.1
- @remirror/dom@1.0.10
- @remirror/preset-core@1.0.10
- jest-prosemirror@1.0.6
- @remirror/pm@1.0.4
2021-10-20
-
Exposes a function
hasUploadingFile
to determine if file uploads are currently taking place.When a user drops a file, a file node is created without a href attribute - this attribute is set once the file has uploaded.
However if a user saves content, before uploads are complete we can be left with "broken" file nodes. This exposed function allows us to check if file uploads are still in progress.
Addtionally file nodes now render valid DOM attributes. Rather than
href
anderror
, they now renderdata-url
anddata-error
.
-
BREAKING CHANGE: The option
persistentSelectionClass
forDecorationsExtension
is nowundefined
by default. It needs to be explicitly configured to enable persistent selection. You can set it as'selection'
to match the default styles provided by@remirror/styles
.If you are using
@remirror/react
, you can enable it like this:import { Remirror, ThemeProvider, useRemirror } from '@remirror/react'; function Editor(): JSX.Element { const { manager } = useRemirror({ builtin: { persistentSelectionClass: 'selection' } }); return ( <ThemeProvider> <Remirror manager={manager} /> </ThemeProvider> ); }
In the interest of performance, the persistent selection will only be displayed if the editor loses focus.
-
Updated dependencies []:
- @remirror/core@1.2.0
- @remirror/dom@1.0.9
- @remirror/preset-core@1.0.9
2021-10-01
- Set correct label and icon for task list (#1157).
- Correct the error message for
ErrorConstant.REACT_PROVIDER_CONTEXT
.
-
Stop hiding error details in production.
-
Updated dependencies []:
- @remirror/core@1.1.3
- @remirror/dom@1.0.8
- @remirror/preset-core@1.0.8
- jest-prosemirror@1.0.5
- @remirror/pm@1.0.3
2021-09-17
-
Improve performance for dynamic attributes.
-
Updated dependencies []:
- @remirror/core@1.1.2
- @remirror/dom@1.0.7
- @remirror/preset-core@1.0.7
2021-09-07
-
Unchained commands should use a new transaction to prevent leaking of previous command steps
-
Updated dependencies []:
- @remirror/core@1.1.1
- @remirror/dom@1.0.6
- @remirror/preset-core@1.0.6
2021-08-30
-
Reset some CSS on IMG separator nodes.
-
Updated dependencies []:
- @remirror/dom@1.0.5
- @remirror/preset-core@1.0.5
2021-08-29
- Override the default browser style about the nested list, so that users can tell the different between two adjacent nested lists.
- Don't install
@remirror/theme
as a dependency of@remirror/core
.
-
Add a new
UploadExtension
to the built-in preset, which will manage all upload states fromFileExtension
and other extensions in the future.Breaking changes:
UploadContext
andFileUploader
are now exported by@remirror/core
instead of@remirror/extension-file
. -
Updated dependencies []:
- @remirror/dom@1.0.4
- @remirror/preset-core@1.0.4
- @remirror/core@1.1.0
2021-08-26
-
Add a
helpers
property to theBasePositionerProps
. This will make it easier to use preconfigured helpers in the positioners. -
Updated dependencies []:
- @remirror/dom@1.0.3
- @remirror/preset-core@1.0.3
2021-08-22
-
Set
sideEffect
from@remirror/i18n
's package.json as true. -
Updated dependencies []:
- @remirror/core@1.0.3
- @remirror/dom@1.0.2
- @remirror/preset-core@1.0.2
2021-08-18
-
Update dependency
prosemirror-gapcursor
to^1.1.5
. -
Updated dependencies []:
- @remirror/pm@1.0.2
- jest-prosemirror@1.0.4
2021-07-21
-
Updated dependencies [
0464a6810
]:- jest-prosemirror@1.0.2
2021-07-17
-
#1002
b3ea6f10d
Thanks @ifiokjr! - Use carets^
for versioning ofremirror
packages. -
Updated dependencies [
b3ea6f10d
]:- jest-prosemirror@1.0.1
- @remirror/core@1.0.1
- @remirror/dom@1.0.1
- @remirror/pm@1.0.1
- @remirror/preset-core@1.0.1
2021-07-17
- #983
47df75996
Thanks @ifiokjr! - Upgrade to@testing-library/dom@8.0.0
which has breaking changes for downstream users.
-
#706
adfb12a4c
Thanks @ifiokjr! - Here's what's changed in the beta release.- Improved
react
API - Full
markdown
support with the@remirror/extension-markdown
package. - Full formatting support
- i18n support
- A11y support for react via
reakit
- Component Library (work in progress)
- Start adding experimental react native support (mostly done)
- Todo list extension (not started)
- New math extension (not started)
- New pagination extension (not started)
- New text wrap extension (not started)
Experimental svelte support- This will be added later in the year.
- Upgrade minimum TypeScript version to
4.1
. - Editor selection now defaults to the
end
of the document. - Rename all
*Parameter
interfaces to*Props
. With the exception of [React]FrameworkParameter which is now [React]FrameworkOptions. - Remove
Presets
completely. In their place a function that returns a list ofExtension
s should be used. They were clunky, difficult to use and provided little to no value. - Add core exports to
remirror
package - Add all Extensions and Preset package exports to the
remirror/extensions
subdirectory. It doesn't include framework specific exports which are made available from@remirror/react
- Remove
remirror/react
which has been replaced by@remirror/react
@remirror/react
includes which includes all the react exports from all the react packages which can be used with remirror.- Remove
@remirror/showcase
- examples have been provided on how to achieve the same effect. - Remove
@remirror/react-social
- Remove
@remirror/react-wysiwyg
- Rename
useRemirror
->useRemirrorContext
- Replace
useManager
with betteruseRemirror
which provides a lot more functionality. - Rename
preset-table
toextension-tables
- Rename
preset-list
toextension-lists
.ListPreset
is nowBulletListExtension
andOrderListExtension
. - New
createDecorations
extension method for adding decorations to the prosemirror view. - Create new decorator pattern for adding
@commands
,@helper
functions and@keyBindings
. - Deprecate
tags
property on extension and encourage the use ofcreateTags
which is a method instead. - Add
onApplyState
andonInitState
lifecycle methods. - Add
onApplyTransaction
method. - Rename interface
CreatePluginReturn
toCreateExtensionPlugin
. - Rewrite the
DropCursor
to support animations and interactions with media. - Add support updating the doc attributes.
- Deprecate top level context methods
focus
andblur
. They should now be consumed as commands - Remove package
@remirror/extension-auto-link
.
- Rename
addOrReplacePlugins
toupdatePlugins
inExtensionStore
. - Remove
reconfigureStatePlugins
and auto apply it for all plugin updating methods.
One of the big changes is a hugely improved API for
@remirror/react
.- New
Rect
interface returned by the positionerx: number; y: number; width: number; height: number;
- Added
visible
property which shows if the position currently visible within the editor viewport. - Improved scrolling when using the positioner.
- Fixed a lot of bugs in the positioner API.
- This DOMRect represents an absolute position within the document. It is up to your consuming component to consume the rect.
@remirror/react-components
exportsPositionerComponent
which internally- Renamed the positioners in line with the new functionality.
import React from 'react'; import { fromHtml, toHtml } from 'remirror'; import { BoldExtension, CorePreset, ItalicExtension } from 'remirror/extension'; import { Remirror, useRemirror, useRemirrorContext } from '@remirror/react'; const Editor = () => { const { manager, onChange, state } = useRemirror({ extensions: () => [new BoldExtension(), new ItalicExtension()], content: 'asdfasdf', stringHandler: '', }); return <Remirror manager={manager} onChange={onChange} state={state} />; };
When no children are provided to the
The previous
useRemirror
is now calleduseRemirrorContext
since it plucks the context from the outerRemirror
Component. The<RemirrorProvider />
has been renamed to<Remirror />
and automatically renders an editor.useManager
has been marked as@internal
(although it is still exported) and going forward you should be usinguseRemirror
as shown in the above example.Per library expected changes.
With the new support for extensions which act as parents to other extensions the table extension has now become a preset extension. It is no longer needed and has been renamed to it's initial name
- Add commands with UI configuration and i18n text descriptions
@command
,@keyBinding
,@helper
decorators for more typesafe configuration of extensions.NameShortcut
keybindings which can be set in the keymap extensionoverrides
property
Actively test for the following
- Screen Readers
- Braille display
- Zoom functionality
- High contrast for the default theme
-
Make sure all your commands in an extension are annotated with a return type of
CommandFunction
. Failure to do so will break all type inference wherever the extension is used.import { CommandFunction } from 'remirror';
-
When setting the name of the extension make sure to use
as const
otherwise it will be a string and ruin autocompletion for extension names, nodes and marks.class MyExtension extends PlainExtension { get name() { return 'makeItConst' as const; } }
- Rename
useKeymap
touseKeymaps
. The originaluseKeymap
now has a different signature.
import { useCallback } from 'react'; import { BoldExtension } from 'remirror/extensions'; import { Remirror, useHelpers, useKeymap, useRemirror, useRemirrorContext, } from '@remirror/react'; const hooks = [ () => { const active = useActive(); const { insertText } = useCommands(); const boldActive = active.bold(); const handler = useCallback(() => { if (!boldActive) { return false; } return insertText.original('\n\nWoah there!')(props); }, [boldActive, insertText]); useKeymap('Shift-Enter', handler); // Add the handler to the keypress pattern. }, ]; const Editor = () => { const { manager } = useRemirror({ extensions: () => [new BoldExtension()] }); return <Remirror manager={manager} hooks={hooks} />; };
- The
Remirror
component now has a convenient hooks props. The hooks prop takes an array of zero parameter hook functions which are rendered into theRemirrorContext
. It's a shorthand to writing out your own components. You can see the pattern in use above.
There are new hooks for working with commands.
-
Each command has an
original
method attached for using the original command that was used to create the command. The original command has the same type signature as the(...args: any[]) => CommandFunction
. So you would call it with the command arguments and then also provide the CommandProps. This is useful when composing commands together or using commands within keyBindings which need to return a boolean.- You can see the
insertText.original
being used in theuseKeymap
example above.
- You can see the
-
useCommands()
provides all the commands as hook.useChainedCommands
provides all the chainable commands.import { useCallback } from 'react'; import { useChainedCommands, useKeymap } from '@remirror/react'; function useLetItGo() { const chain = useChainedCommands(); const handler = useCallback(() => { chain.selectText('all').insertText('Let it goo π€«').run(); }, [chain]); // Whenever the user types `a` they let it all go useKeymap('a', handler); }
- Upgrade React to require minimum versions of ^16.14.0 || ^17. This is because of the codebase now using the new jsx transform.
- Upgrade TypeScript to a minimum of
4.1
. Several of the new features make use of the new types and it is a requirement to upgrade. - General upgrades across all dependencies to using the latest versions.
- All
prosemirror-*
packages.
- All
- Fixes #569
- Fixes #452
- Fixes #407
- Fixes #533
- Fixes #652
- Fixes #654
- Fixes #480
- Fixes #566
- Fixes #453
- Fixes #508
- Fixes #715
- Fixes #531
- Fixes #535
- Fixes #536
- Fixes #537
- Fixes #538
- Fixes #541
- Fixes #542
- Fixes #709
- Fixes #532
- Fixes #836
- Fixes #834
- Fixes #823
- Fixes #820
- Fixes #695
- Fixes #793
- Fixes #800
- Fixes #453
- Fixes #778
- Fixes #757
- Fixes #804
- Fixes #504
- Fixes #566
- Fixes #714
- Fixes #37
- Improved
- Updated dependencies [
8202b65ef
,5c981d96d
,47df75996
,adfb12a4c
,7f3569729
,270edd91b
,b4dfcad36
,e9b10fa5a
,6ab7d2224
,270edd91b
,270edd91b
,7024de573
,03d0ae485
]:- @remirror/core@1.0.0
- jest-prosemirror@1.0.0
- @remirror/dom@1.0.0
- @remirror/pm@1.0.0
- @remirror/preset-core@1.0.0
2020-12-17
-
Forced update in pre-release mode.
-
Updated dependencies []:
- @remirror/core@1.0.0-next.60
- @remirror/dom@1.0.0-next.60
- @remirror/pm@1.0.0-next.60
- @remirror/preset-core@1.0.0-next.60
- jest-prosemirror@1.0.0-next.60
2020-12-12
-
Forced update in pre-release mode.
-
Updated dependencies []:
- @remirror/core@1.0.0-next.59
- @remirror/dom@1.0.0-next.59
- @remirror/pm@1.0.0-next.59
- @remirror/preset-core@1.0.0-next.59
- jest-prosemirror@1.0.0-next.59
2020-11-29
-
Forced update in pre-release mode.
-
Updated dependencies [
3d3da227
]:- @remirror/core@1.0.0-next.58
- @remirror/dom@1.0.0-next.58
- @remirror/pm@1.0.0-next.58
- @remirror/preset-core@1.0.0-next.58
- jest-prosemirror@1.0.0-next.58
2020-11-25
-
Forced update in pre-release mode.
-
Updated dependencies []:
- @remirror/core@1.0.0-next.57
- @remirror/dom@1.0.0-next.57
- @remirror/pm@1.0.0-next.57
- @remirror/preset-core@1.0.0-next.57
- jest-prosemirror@1.0.0-next.57
2020-11-24
-
Forced update in pre-release mode.
-
Updated dependencies []:
- @remirror/core@1.0.0-next.56
- @remirror/dom@1.0.0-next.56
- @remirror/pm@1.0.0-next.56
- @remirror/preset-core@1.0.0-next.56
- jest-prosemirror@1.0.0-next.56
2020-11-20
-
Forced update in pre-release mode.
-
Updated dependencies [
1adea88a
]:- @remirror/core@1.0.0-next.55
- @remirror/dom@1.0.0-next.55
- @remirror/pm@1.0.0-next.55
- @remirror/preset-core@1.0.0-next.55
- jest-prosemirror@1.0.0-next.55
2020-11-19
-
Forced update in pre-release mode.
-
Updated dependencies [
e9d95fa4
]:- @remirror/core@1.0.0-next.54
- @remirror/dom@1.0.0-next.54
- @remirror/pm@1.0.0-next.54
- @remirror/preset-core@1.0.0-next.54
- jest-prosemirror@1.0.0-next.54
2020-11-12
-
Forced update in pre-release mode.
-
Updated dependencies [
a1d65df6
]:- @remirror/core@1.0.0-next.53
- @remirror/dom@1.0.0-next.53
- @remirror/pm@1.0.0-next.53
- @remirror/preset-core@1.0.0-next.53
- jest-prosemirror@1.0.0-next.53
2020-11-06
-
Forced update in pre-release mode.
-
Updated dependencies []:
- @remirror/core@1.0.0-next.52
- @remirror/dom@1.0.0-next.52
- @remirror/pm@1.0.0-next.52
- @remirror/preset-core@1.0.0-next.52
- jest-prosemirror@1.0.0-next.52
2020-10-27
-
Forced update in pre-release mode.
-
Updated dependencies [
997eb56a
]:- @remirror/core@1.0.0-next.51
- @remirror/dom@1.0.0-next.51
- @remirror/preset-core@1.0.0-next.51
- jest-prosemirror@1.0.0-next.51
- @remirror/pm@1.0.0-next.51
2020-10-15
-
Updated dependencies [
bd8ac67d
]:- @remirror/core@1.0.0-next.50
- @remirror/dom@1.0.0-next.50
- @remirror/pm@1.0.0-next.50
- @remirror/preset-core@1.0.0-next.50
- jest-prosemirror@1.0.0-next.50
2020-10-10
-
Forced update in pre-release mode.
-
Updated dependencies []:
- @remirror/core@1.0.0-next.49
- @remirror/dom@1.0.0-next.49
- @remirror/pm@1.0.0-next.49
- @remirror/preset-core@1.0.0-next.49
- jest-prosemirror@1.0.0-next.49
2020-10-08
- Updated dependencies [
a2fa2c2b
]:- @remirror/core@1.0.0-next.48
- @remirror/dom@1.0.0-next.48
- @remirror/preset-core@1.0.0-next.48
- jest-prosemirror@1.0.0-next.48
2020-10-08
- Updated dependencies [
4658d45c
]:- @remirror/core@1.0.0-next.47
- @remirror/dom@1.0.0-next.47
- @remirror/pm@1.0.0-next.47
- jest-prosemirror@1.0.0-next.47
- @remirror/preset-core@1.0.0-next.47
2020-10-06
- Updated dependencies [
0198b9fc
]:- jest-prosemirror@1.0.0-next.46
2020-10-01
- Updated dependencies [
2175be1d
]:- @remirror/core@1.0.0-next.45
- @remirror/dom@1.0.0-next.45
- @remirror/preset-core@1.0.0-next.45
2020-09-30
-
bcf3b2c4
#731 Thanks @ifiokjr! - Fix support forjest-remirror
with versions before the16
release.Deprecate
jsdomExtras
which has been replaced byjsdomPolyfill
.
-
8ce923a4
#733 Thanks @ifiokjr! - Fix incorrect usage ofendsWith
inValidityTest
s. -
Updated dependencies [
bcf3b2c4
]:- @remirror/pm@1.0.0-next.44
- @remirror/preset-core@1.0.0-next.44
- @remirror/core@1.0.0-next.44
- @remirror/dom@1.0.0-next.44
- jest-prosemirror@1.0.0-next.44
2020-09-28
- Updated dependencies []:
- @remirror/core@1.0.0-next.43
- jest-prosemirror@1.0.0-next.43
- @remirror/dom@1.0.0-next.43
- @remirror/preset-core@1.0.0-next.43
2020-09-26
- Updated dependencies []:
- @remirror/core@1.0.0-next.42
- jest-prosemirror@1.0.0-next.42
- @remirror/dom@1.0.0-next.42
- @remirror/preset-core@1.0.0-next.42
2020-09-26
- Updated dependencies [
e4701dc4
,83217437
]:- @remirror/core@1.0.0-next.41
- @remirror/dom@1.0.0-next.41
- @remirror/preset-core@1.0.0-next.41
2020-09-24
-
fd694d61
#700 Thanks @ifiokjr! - Upgrade external dependencies. -
Updated dependencies [
7c5778ed
,cbf15ec4
,fd694d61
]:- @remirror/core@1.0.0-next.40
- @remirror/pm@1.0.0-next.40
- jest-prosemirror@1.0.0-next.40
- @remirror/dom@1.0.0-next.40
- @remirror/preset-core@1.0.0-next.40
2020-09-16
- Updated dependencies [
61894188
]:- @remirror/pm@1.0.0-next.39
- @remirror/core@1.0.0-next.39
- @remirror/dom@1.0.0-next.39
- @remirror/preset-core@1.0.0-next.39
- jest-prosemirror@1.0.0-next.39
2020-09-16
- Updated dependencies [
14e48698
,913e8e68
,efd2e537
]:- @remirror/pm@1.0.0-next.38
- @remirror/core@1.0.0-next.38
- @remirror/dom@1.0.0-next.38
- @remirror/preset-core@1.0.0-next.38
- jest-prosemirror@1.0.0-next.38
2020-09-14
- Updated dependencies [
5a3dd95f
,5a3dd95f
]:- @remirror/core@1.0.0-next.37
- @remirror/pm@1.0.0-next.37
- @remirror/dom@1.0.0-next.37
- @remirror/preset-core@1.0.0-next.37
- jest-prosemirror@1.0.0-next.37
2020-09-13
- Updated dependencies [
0876a5cc
]:- @remirror/dom@1.0.0-next.36
2020-09-13
725df02b
#672 Thanks @ifiokjr! - Reduce bundle size by updating babel configuration thanks to help from preconstruct/preconstruct/297. Fixes #358.
-
f9760792
#676 Thanks @ifiokjr! - Upgrade linaria and other dependencies -
Updated dependencies [
f1b8fc46
,34b0f0b3
,1b6b2922
,725df02b
,4fee3e94
,f9760792
]:- jest-prosemirror@1.0.0-next.35
- @remirror/core@1.0.0-next.35
- @remirror/dom@1.0.0-next.35
- @remirror/pm@1.0.0-next.35
- @remirror/preset-core@1.0.0-next.35
2020-09-10
-
db7165f1
#665 Thanks @ifiokjr! - RefactorRemirrorManager
and renameEditorWrapper
toFramework
.- New
BaseFramework
interface which is implemented by the abstractFramework
class and used by theRemirrorManager
to keep hold of an instance of theFramework
. - New
attachFramework
method on the manager. - Update
doc
property todocument
throughout the codebase.doc
could be confused with thedoc
node or the actual document. Now it's clearer. Any timedoc
is mentioned in the code base it refers to theProseMirror
node. Any timedocument
is mentioned it is referring to the DOM. - Remove
SocialEditorWrapperComponent
export from@remirror/react-social
.
- New
-
5945dffe
#667 Thanks @ifiokjr! - Fix name tests forextensionValidityTest
andpresetValidityTest
. -
Updated dependencies [
27b358e4
,27b358e4
,27b358e4
,db7165f1
]:- @remirror/core@1.0.0-next.34
- jest-prosemirror@1.0.0-next.34
- @remirror/dom@1.0.0-next.34
- @remirror/preset-core@1.0.0-next.34
- @remirror/pm@1.0.0-next.34
2020-09-07
- 7a34e15d: Add
forwardDelete
tojest-remirror
andjest-prosemirror
. - 92ed4135: Add support for
anchor
andhead
cursors when writing tests. Also fixselectText
when position is0
.
- Updated dependencies [7a34e15d]
- Updated dependencies [7a34e15d]
- Updated dependencies [92ed4135]
- Updated dependencies [7a34e15d]
- Updated dependencies [7a34e15d]
- Updated dependencies [7a34e15d]
- Updated dependencies [7a34e15d]
- Updated dependencies [7a34e15d]
- Updated dependencies [525ac3d8]
- Updated dependencies [7a34e15d]
- Updated dependencies [7a34e15d]
- Updated dependencies [7a34e15d]
- Updated dependencies [d47bd78f]
- jest-prosemirror@1.0.0-next.33
- @remirror/core@1.0.0-next.33
- @remirror/dom@1.0.0-next.33
- @remirror/preset-core@1.0.0-next.33
2020-09-05
- Updated dependencies [
5786901c
,aa27e968
,c8239120
,a830c70f
,5786901c
,bed5a9e3
]:- @remirror/core@1.0.0-next.32
- jest-prosemirror@1.0.0-next.32
- @remirror/dom@1.0.0-next.32
- @remirror/preset-core@1.0.0-next.32
- @remirror/pm@1.0.0-next.32
2020-09-03
-
e8458bc5
#623 Thanks @ifiokjr! - AddselectText
command toCommandsExtension
. Also adddispatchCommand
for running custom commands toCommandsExtension
.Fix broken command text selection in
jest-remirror
and improvejest-remirror
type inference for therenderEditor().view
property.
-
e8458bc5
#623 Thanks @ifiokjr! - Add support for using a custom schema when creating the editor.- Also add support for additional
plugins
andnodeView
's via the manager settings.
- Also add support for additional
-
Updated dependencies [
e8458bc5
,1a7da61a
,e8458bc5
,e8458bc5
,e8458bc5
]:- @remirror/core@1.0.0-next.31
- @remirror/dom@1.0.0-next.31
- @remirror/preset-core@1.0.0-next.31
- jest-prosemirror@1.0.0-next.31
2020-08-28
- Updated dependencies [
05446a62
]:- @remirror/core@1.0.0-next.29
- @remirror/dom@1.0.0-next.29
- @remirror/preset-core@1.0.0-next.29
- jest-prosemirror@1.0.0-next.29
2020-08-27
-
0400fbc8
#591 Thanks @ifiokjr! - Add support for nested content withinReactComponent
node views. Also support adding multiple components to the manager via thenodeViewComponents
setting. CurrentlyReactNodeView
components must be defined at initialization, and marks are not supported.- Also enforce minimum required extensions for the manager passed to the
RemirrorProvider
. - Some general cleanup and refactoring.
- Add support for composing refs when using
getRootProps
. Now you can add your own ref to thegetRootProps({ ref })
function call which will be populated at the same time. - Test the names of
Extension
's andPreset
's in withextensionValidityTest
. - BREAKING CHANGES π₯
- Rename:
ReactSSRExtension
=>ReactSsrExtension
- Rename:
ReactComponentExtension.name
fromreactNodeView
=>reactComponent
. - Rename:
NodeViewsExtension
=>NodeViewExtension
- Rename:
NodeViewsExtension
=>NodeViewExtension
- Rename:
SuggestExtension.name
fromsuggestions
=>suggest
- Rename:
- Also enforce minimum required extensions for the manager passed to the
- Updated dependencies [
c0dce043
,d5bbeb4e
,0400fbc8
,d23a0434
]:- @remirror/core@1.0.0-next.28
- @remirror/pm@1.0.0-next.28
- @remirror/dom@1.0.0-next.28
- @remirror/preset-core@1.0.0-next.28
- jest-prosemirror@1.0.0-next.28
2020-08-24
- Updated dependencies [a2bc3bfb]
- Updated dependencies [147d0f2a]
- @remirror/core@1.0.0-next.26
- @remirror/dom@1.0.0-next.26
- @remirror/preset-core@1.0.0-next.26
- jest-prosemirror@1.0.0-next.26
- @remirror/pm@1.0.0-next.26
2020-08-23
- Updated dependencies [e37d64de]
- Updated dependencies [3f2625bf]
- @remirror/core@1.0.0-next.25
- @remirror/dom@1.0.0-next.25
- @remirror/preset-core@1.0.0-next.25
- jest-prosemirror@1.0.0-next.25
2020-08-20
- Updated dependencies [65a7ea24]
- @remirror/core@1.0.0-next.24
- @remirror/dom@1.0.0-next.24
- @remirror/preset-core@1.0.0-next.24
2020-08-17
-
65638a1c: Fix cyclic JSON error when tests when tests failed.
-
45d82746: π₯ Remove
AttributesWithClass
.π Add
NodeAttributes
andMarkAttributes
exports which can be extended in theRemirror.ExtraNodeAttributes
andRemirror.ExtraMarkAttributes
.π Add
isAllSelection
which checks if the user has selected everything in the active editor. -
Updated dependencies [9ab1d0f3]
-
Updated dependencies [65638a1c]
-
Updated dependencies [45d82746]
-
Updated dependencies [113560bb]
- @remirror/core@1.0.0-next.22
- jest-prosemirror@1.0.0-next.22
- @remirror/dom@1.0.0-next.22
- @remirror/preset-core@1.0.0-next.22
- @remirror/pm@1.0.0-next.22
2020-08-15
- Updated dependencies [3673a0f0]
- Updated dependencies [8c34030e]
- Updated dependencies [baf3f56d]
- @remirror/core@1.0.0-next.21
- @remirror/dom@1.0.0-next.21
- @remirror/preset-core@1.0.0-next.21
- jest-prosemirror@0.8.4-next.6
- @remirror/pm@1.0.0-next.21
2020-08-14
- 770e3d4a: Update package dependencies.
- 92653907: Upgrade package dependencies.
- Updated dependencies [770e3d4a]
- Updated dependencies [92653907]
- @remirror/pm@1.0.0-next.20
- jest-prosemirror@1.0.0-next.5
- @remirror/core@1.0.0-next.20
- @remirror/dom@1.0.0-next.20
- @remirror/preset-core@1.0.0-next.20
2020-08-02
- Updated dependencies [898c62e0]
- @remirror/core@1.0.0-next.17
- @remirror/preset-core@1.0.0-next.17
- @remirror/dom@1.0.0-next.17
2020-08-01
-
6c6d524e: Breaking Changes π₯
Rename
contains
tocontainsNodesOfType
.Make
isValidPresetConstructor
internal only.Remove
EMPTY_CSS_VALUE
,CSS_ROTATE_PATTERN
from@remirror/core-constants
.Remove method:
clean() | coerce() | fragment() | markFactory() | nodeFactory() | offsetTags() | sequence() | slice() | text() | isTaggedNode() | replaceSelection()
and type:BaseFactoryParameter | MarkWithAttributes | MarkWithoutAttributes | NodeWithAttributes | NodeWithoutAttributes | TagTracker | TaggedContent | TaggedContentItem | TaggedContentWithText | Tags
exports fromjest-remirror
.Remove
SPECIAL_INPUT_KEYS | SPECIAL_KEYS | SPECIAL_MENU_KEYS | SPECIAL_TOGGLE_BUTTON_KEYS
frommultishift
.
-
720c9b43: Add validity check function exports to
jest-remirror
.presetValidityTest
for testing yourPreset
.extensionValidityTest
for testing yourExtension
.
-
a7037832: Use exact versions for
@remirror
packagedependencies
andpeerDepedencies
.Closes #435
-
68c524ee: Remove ESModule build which is not supported by jest.
-
231f664b: Upgrade dependencies.
-
6c6d524e: Remove use of
export *
for better tree shaking.Closes #406
-
Updated dependencies [6528323e]
-
Updated dependencies [f032db7e]
-
Updated dependencies [a7037832]
-
Updated dependencies [68c524ee]
-
Updated dependencies [6e8b749a]
-
Updated dependencies [dcccc5fc]
-
Updated dependencies [231f664b]
-
Updated dependencies [982a6b15]
-
Updated dependencies [6c6d524e]
-
Updated dependencies [6c6d524e]
-
Updated dependencies [e518ef1d]
-
Updated dependencies [be9a9c17]
-
Updated dependencies [720c9b43]
- @remirror/preset-core@1.0.0-next.16
- @remirror/core@1.0.0-next.16
- @remirror/dom@1.0.0-next.16
- @remirror/pm@1.0.0-next.16
- jest-prosemirror@1.0.0-next.4
2020-07-31
- 843c18e7: Add
chain
method toRemirrorTestChain
and update select text to receiveall
for selecting all text.
- 9de09793: Fix the dependencies.
- Updated dependencies [cdc5b801]
- Updated dependencies [44516da4]
- Updated dependencies [e5ea0c84]
- Updated dependencies [a404f5a1]
- Updated dependencies [6c3b278b]
- Updated dependencies [f91dcab1]
- @remirror/core@1.0.0-next.15
- @remirror/preset-core@1.0.0-next.15
- @remirror/dom@1.0.0-next.15
2020-07-26
- 9b132f23: Remove
renderEditorString
method for testing SSR editors.
- Updated dependencies [6468058a]
- @remirror/core@1.0.0-next.10
- @remirror/dom@1.0.0-next.10
2020-07-20
- cf4656a6: Remove
remirror
from the dependencies ofjest-remirror
2020-07-17
- 5ebf2827: Fix broken
jest-prosemirror/environment
import andjest-remirror/environment
for automatic setup. Also enable thejest-prosemirror/serializer
to correctly serialize the prosemirror content. - Updated dependencies [d186b75a]
- Updated dependencies [5ebf2827]
- remirror@1.0.0-next.5
- jest-prosemirror@1.0.0-next.3
2020-07-16
- 5d5970ae: Update repository and website field to point to HEAD rather than a specific branch.
- Updated dependencies [5d5970ae]
- @remirror/pm@1.0.0-next.4
- jest-prosemirror@1.0.0-next.2
- remirror@1.0.0-next.4
2020-07-05
- Fix missing dist files from previous publish.
- Updated dependencies [undefined]
- @remirror/pm@1.0.0-next.1
- jest-prosemirror@1.0.0-next.1
- remirror@1.0.0-next.1
2020-07-05
-
The whole API for remirror has completely changed. These pre-release versions are a breaking change across all packages. The best way to know what's changed is to read the documentaion on the new documentation site
https://remirror.io
. -
28bd8bea: This is a breaking change to the structure of published npm packages.
- Move build directory from
lib
todist
- Remove option for multiple entry points. It is no longer possible to import module from '@remirror/core/lib/custom'
- Only use one entry file.
- Remove declaration source mapping for declaration files
- Remove the src directory from being published.
- Move build directory from
-
7b817ac2: Rename all types and interfaces postfixed with
Params
to use the postfixParameter
. If your code was importing any matching interface you will need to update the name. -
dd16d45d: Rewrite packages using the new API
- 9a699e80: Upgrade dependencies to use v26.0.0 of jest.
- Updated dependencies [undefined]
- Updated dependencies [8334294e]
- Updated dependencies [28bd8bea]
- Updated dependencies [7b817ac2]
- Updated dependencies [9a699e80]
- Updated dependencies [dd16d45d]
- Updated dependencies [8334294e]
- @remirror/pm@1.0.0-next.0
- jest-prosemirror@1.0.0-next.0
- remirror@1.0.0-next.0
- Updated dependencies [4dbb7461]
- @remirror/core-extensions@0.13.1
- @remirror/react@0.13.1
- 000fdfb0: Upgraded external dependencies with major releases.
- Updated dependencies [d2a288aa]
- Updated dependencies [5888a7aa]
- Updated dependencies [000fdfb0]
- jest-prosemirror@0.8.2
- @remirror/core-extensions@0.11.1
- Updated dependencies [026d4238]
- Updated dependencies [69d00c62]
- Updated dependencies [c2237aa0]
- @remirror/react@0.11.0
- @remirror/core@0.11.0
- @remirror/core-extensions@0.11.0
- Updated dependencies [0300d01c]
- @remirror/core@0.9.0
- @remirror/core-extensions@0.7.6
- jest-prosemirror@0.8.1
- @remirror/react-utils@0.7.6
- @remirror/react@0.7.7
- 527395be:
renderEditor
now accepts PrioritizedExtensions for more flexible testing.
- Updated dependencies [24f83413]
- Updated dependencies [24f83413]
- Updated dependencies [24f83413]
- @remirror/core@0.8.0
- jest-prosemirror@0.8.0
- @remirror/core-extensions@0.7.5
- @remirror/react-utils@0.7.5
- @remirror/react@0.7.6
- 7380e18f: Update repository url from ifiokjr/remirror to remirror/remirror to reflect new GitHub organisation.
- Updated dependencies [10419145]
- Updated dependencies [7380e18f]
- @remirror/core-extensions@0.7.4
- @remirror/core@0.7.4
- @remirror/react-utils@0.7.4
- @remirror/react@0.7.5
- jest-prosemirror@0.7.4
- 5f85c0de: Bump a new version to test out the changeset API.
- Updated dependencies [5f85c0de]
- @remirror/core@0.7.3
- @remirror/core-extensions@0.7.3
- @remirror/react@0.7.3
- @remirror/react-utils@0.7.3
- jest-prosemirror@0.7.3