Open turkdemir opened 8 months ago
this require code at
require('./dist/summernote-lite.min.css');
and
require('./dist/summernote-lite.min.js');
were called to import files relative to the file which they were called from summernote_lite.jsx
which is correct
You can verify this by holding cmd + clicking on ./dist/summernote-lite.min.js
(on macos) or ctrl + clicking on ./dist/summernote-lite.min.js
(on windows) which should take you to such file
i think the reason you are getting this conflict is because you were not importing the css styling when using summernote.
you can solve this by importing like this
// you need to iport the css style yourself
import 'react-summernote-lite/dist/esm/dist/summernote-lite.min.css';
Hi, in Readme file and also inside jsx files under the node_modules, it requires; "dist/dist" folder But when i install package i see "dist/cjs/dist" Because of this conflict summernote dont wor properly.
Fo example; inside summernote_lite.jsx file it requeires require('./dist/summernote-lite.min.css'); require('./dist/summernote-lite.min.js'); but in real there is no files such.
Please make an update for this, thanks...