Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ra-input-rich-text tiptap dependencies #8997

Merged
merged 1 commit into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions packages/ra-input-rich-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
"watch": "tsc --outDir dist/esm --module es2015 --watch"
},
"dependencies": {
"@tiptap/core": "^2.0.0-beta.217",
"@tiptap/extension-color": "^2.0.0-beta.217",
"@tiptap/extension-highlight": "^2.0.0-beta.217",
"@tiptap/extension-image": "^2.0.0-beta.217",
"@tiptap/extension-link": "^2.0.0-beta.217",
"@tiptap/extension-placeholder": "^2.0.0-beta.217",
"@tiptap/extension-text-align": "^2.0.0-beta.217",
"@tiptap/extension-text-style": "^2.0.0-beta.217",
"@tiptap/extension-underline": "^2.0.0-beta.217",
"@tiptap/pm": "^2.0.0-beta.217",
"@tiptap/react": "^2.0.0-beta.217",
"@tiptap/starter-kit": "^2.0.0-beta.217",
"@tiptap/core": "^2.0.3",
"@tiptap/extension-color": "^2.0.3",
"@tiptap/extension-highlight": "^2.0.3",
"@tiptap/extension-image": "^2.0.3",
"@tiptap/extension-link": "^2.0.3",
"@tiptap/extension-placeholder": "^2.0.3",
"@tiptap/extension-text-align": "^2.0.3",
"@tiptap/extension-text-style": "^2.0.3",
"@tiptap/extension-underline": "^2.0.3",
"@tiptap/pm": "^2.0.3",
"@tiptap/react": "^2.0.3",
"@tiptap/starter-kit": "^2.0.3",
"clsx": "^1.1.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ra-input-rich-text/src/RichTextInput.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('<RichTextInput />', () => {
const { container, rerender } = render(<Basic record={record} />);

await waitFor(() => {
expect(container.querySelector('#body').innerHTML).toEqual(
expect(container.querySelector('#body')?.innerHTML).toEqual(
'<h1>Hello world!</h1>'
);
});
Expand All @@ -18,7 +18,7 @@ describe('<RichTextInput />', () => {
rerender(<Basic record={newRecord} />);

await waitFor(() => {
expect(container.querySelector('#body').innerHTML).toEqual(
expect(container.querySelector('#body')?.innerHTML).toEqual(
'<h1>Goodbye world!</h1>'
);
});
Expand Down
Loading