You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've used this webpage https://ckeditor.com/ckeditor-5/online-builder/ to generate editor with my preferences. Downloaded the zip file and my question is, how do I use it in react? Example for html works just fine but not in react.
Directly import from build folder into ofc crashed as it was too large. So I tried different approaches.
Last one that looks like it should work was to install it as a module using npm. So I installed it and it went just fine. Its in node modules as "ckeditor5-custom-build", package.json, "ckeditor5-custom-build": "file:src/components/ckeditor5" webpage loads just fine but when i try to import it in any way it doesn't work. import CKEditor from 'ckeditor5-custom-build';
also tried import {ClassicEditor} from 'ckeditor5-custom-build';
All I get is Module not found: Can't resolve 'ckeditor5-custom-build' in. How can I use this?
I also tried just directly using it, installing all of the dependencies creating the file linked below in my project but problem is, the dependencies don't even load, with message that one of the modules was not able to import css from the other module, but when I looked it was there. Still I think the first approach I tried should somehow work, I have no idea how though.
So I've used this webpage https://ckeditor.com/ckeditor-5/online-builder/ to generate editor with my preferences. Downloaded the zip file and my question is, how do I use it in react? Example for html works just fine but not in react.
Directly import from build folder into ofc crashed as it was too large. So I tried different approaches.
Last one that looks like it should work was to install it as a module using npm. So I installed it and it went just fine. Its in node modules as "ckeditor5-custom-build", package.json,
"ckeditor5-custom-build": "file:src/components/ckeditor5"
webpage loads just fine but when i try to import it in any way it doesn't work.import CKEditor from 'ckeditor5-custom-build';
also tried
import {ClassicEditor} from 'ckeditor5-custom-build';
All I get is
Module not found: Can't resolve 'ckeditor5-custom-build' in
. How can I use this?I also tried just directly using it, installing all of the dependencies creating the file linked below in my project but problem is, the dependencies don't even load, with message that one of the modules was not able to import css from the other module, but when I looked it was there. Still I think the first approach I tried should somehow work, I have no idea how though.
Here is the code of generated component so you can imagine what libraries I used.
https://gist.github.com/ladislavbili/68e1c6126ae6daa781fed1469352c12e
The text was updated successfully, but these errors were encountered: