ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

create-react-app dependency

Open andoch93 opened this issue 2 years ago • 5 comments

Is there a dependency for react projects using ckeditor to be made with create-react-app?

andoch93 avatar Jul 17 '23 19:07 andoch93

I'm uncertain if I understand your question, we have a React integration, and in the docs you will find ways to set it up.

Witoso avatar Jul 19 '23 08:07 Witoso

Hi, I think I am facing a similar issue that @andoch93 may have been referring to. I have an early stage react application created with create-react-app-. I did an "npm install --save @ckeditor/ckeditor5-react @ckeditor/ckeditor5-build-classic" and tried importing the ckeditor into my component. Upon running at that point I got all these type errors.

I am using node version 18.16.1 and typescript version "^4.4.3". Please may you assist, if there is an existing solution.

TypeError

Tarlidz12 avatar Jul 19 '23 09:07 Tarlidz12

I managed to resolve my issue by lowering my typescript to 3.3.0

Tarlidz12 avatar Jul 19 '23 17:07 Tarlidz12

@Tarlidz12, most likely CKEditor 5 is not the root cause here. The minimal TypeScript version required to run CKEditor 5 is v4.8.4. So there may be some unexpected issues after lowering the version.

Witoso avatar Jul 20 '23 13:07 Witoso

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Jul 20 '24 03:07 CKEditorBot

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Aug 20 '24 01:08 CKEditorBot