diff --git a/README.md b/README.md index 96a4757..d58275c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # EasyMDE - Markdown Editor -[](https://www.npmjs.com/package/easymde) -[](https://www.npmjs.com/package/easymde/v/next) -[](https://github.com/Ionaru/easy-markdown-editor/actions?query=branch%3Amaster) +[](https://www.npmjs.com/package/easymde/v/v3-alpha) +[](https://github.com/Ionaru/easy-markdown-editor/actions?query=branch%3Av3) > This repository is a fork of > [SimpleMDE, made by Sparksuite](https://github.com/sparksuite/simplemde-markdown-editor/). @@ -18,7 +17,7 @@ The editor is entirely customizable, from theming to toolbar buttons and javascr [**Try the demo**](https://stackblitz.com/edit/easymde) -[](https://stackblitz.com/edit/easymde) +[](https://stackblitz.com/edit/easymde) ## Quick access diff --git a/src/easymde.ts b/src/easymde.ts index b3ff309..69ca55c 100644 --- a/src/easymde.ts +++ b/src/easymde.ts @@ -128,6 +128,7 @@ export class EasyMDE { state: EditorState.create({ doc: this.#element.value, extensions: [ + EditorView.lineWrapping, syntaxHighlighting(highlightStyle), syntaxHighlighting(defaultHighlightStyle), markdown({ diff --git a/test/screenshot.html b/test/screenshot.html new file mode 100644 index 0000000..0026d6e --- /dev/null +++ b/test/screenshot.html @@ -0,0 +1,54 @@ + + +
+ + + +