Closed axelvaindal closed 8 months ago
Here is a screen from VSCode for better context:
Somehow, reinstalling with npm install
and downgrading / upgrading React package version fixed the error. 🤷♂️
I'm glad you were able to resolve this! We will make sure to test new installation methods (ckeditor/ckeditor5#15502) against this as well.
Hello 👋,
I've followed the official documentation regarding creating a custom build with the builder (which gave me a zip module to add to my project) and followed the Next.js example to the letter.
However, I'm encountering TypeScript issues which I've found similar to the one mentioned in an Angular issue, but I don't understand what's the correct way to solve those.
Here is the code we use:
When using any editor from the package, we get the two following errors:
Error related to the Editor class itself:
Error related to the EditorUIView class:
Code was tested prior to using custom build and works functionaly, but it seems the types are not aligned. Thanks for your help,