-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
build error using nextjs15 #17896
Comments
Probably fixed in ckeditor/ckeditor5-react@2a7d015 |
@babotaemin Consider checking |
@Mati365 I appreciate your support. The redline issue in the data section disappeared when I set the version to v9.5.0-alpha.0. |
Glad to hear that, cool!
The editor currently doesn’t support SSR. It should only be rendered after the component has mounted on the client side. You can achieve this using import dynamic from 'next/dynamic';
import { useEffect, useState } from 'react';
const Editor = dynamic(() => import('your-editor-component'), { ssr: false });
export default function Page() {
const [mounted, setMounted] = useState(false);
useEffect(() => {
setMounted(true);
}, []);
return <>{mounted && <Editor />}</>;
} |
@Mati365 , thank you so much! Have a wonderful day! 😊 |
Reproduction steps
ckeditor5-code.txt
Current behavior
No response
Expected behavior
No response
Definition of Done
Relevant debug data
Other details
No response
User agent
web (chrome)
The text was updated successfully, but these errors were encountered: