Skip to content

Commit

Permalink
Merge pull request hackerwins#1 from ronin1184/master
Browse files Browse the repository at this point in the history
document: add bootstrap style to ensure summernote display properly
  • Loading branch information
i-kitaev authored Jul 6, 2016
2 parents b053232 + 33d6b3f commit 23d70a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ new webpack.ProvidePlugin({
```javascript
import React from "react";
import ReactSummernote from "react-summernote";
import "bootstrap/dist/css/bootstrap.css"; // import bootstrap styles
import "react-summernote/lang/summernote-ru-RU"; // you can import any other locale
import "react-summernote/dist/react-summernote.css"; // import styles

Expand Down Expand Up @@ -83,4 +84,4 @@ ReactSummernote.insertImage(`/resources/getImage?imageGuid=${image.imageGuid}`,
$image.css("width", Math.floor($image.width() / 2));
$image.attr("alt", image.name);
});
```
```

0 comments on commit 23d70a0

Please sign in to comment.