mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-09-24 16:40:55 -06:00
Pull in CodeMirror styles
I had followed the install instructions but the editor was not working for me at all in a bootstrap modal and was very buggy. Adding the CodeMirror stylesheet solved the issues for me, so adding to the README
This commit is contained in:
parent
113c5b45b1
commit
5fd803a847
10
README.md
10
README.md
@ -54,6 +54,16 @@ Via [npm](https://www.npmjs.com/package/easymde):
|
||||
npm install easymde --save
|
||||
```
|
||||
|
||||
Note, if you have issues with editor not working as expected (e.g. lines not wrapping, etc), you may have to also import CodeMirror styles into your project
|
||||
|
||||
```bash
|
||||
npm install codemirror --save
|
||||
```
|
||||
|
||||
```scss
|
||||
@import "~codemirror/lib/codemirror.css";
|
||||
```
|
||||
|
||||
Via the *UNPKG* CDN:
|
||||
|
||||
```html
|
||||
|
Loading…
x
Reference in New Issue
Block a user