mantine
mantine copied to clipboard
RichTextEditor with Next.js
What package has an issue
@mantine/rte
Describe the bug
Only when I paste (CMD+V) an image raise the error, even with strict mode disabled:

next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
};
module.exports = nextConfig;
If I insert the image through the button, it works as expected.
What version of @mantine/hooks page do you have in package.json?
5.2.5
If possible, please include a link to a codesandbox with the reproduced problem
Can reproduce in https://mantine.dev/others/rte/#images-upload
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
No response
Possible fix
No response
I'm having this problem as well. Only when copy pasting images on latest NextJS version.
Fixed on 5.4.1