File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,14 @@ new webpack.ProvidePlugin({
22
22
``` javascript
23
23
import React from " react" ;
24
24
import ReactSummernote from " react-summernote" ;
25
+ import " react-summernote/dist/react-summernote.css" ; // import styles
25
26
import " react-summernote/lang/summernote-ru-RU" ; // you can import any other locale
26
27
27
- import " bootstrap/dist/css/bootstrap.css" ; // you should import bootstrap styles if you haven't done that before
28
- import " react-summernote/dist/react-summernote.css" ; // import styles
28
+ // Import bootstrap(v3 or v4) dependencies
29
+ import " bootstrap/js/modal" ;
30
+ import " bootstrap/js/dropdown" ;
31
+ import " bootstrap/js/tooltip" ;
32
+ import " bootstrap/dist/css/bootstrap.css" ;
29
33
30
34
class RichTextEditor extends React .Component {
31
35
onChange (content ) {
You can’t perform that action at this time.
0 commit comments