mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-17 15:04:28 -06:00
Merge pull request #32 from NextStepWebs/development
JavaScript highlighting in README
This commit is contained in:
commit
bb24da9480
@ -139,7 +139,7 @@ Or, you can keep the height static:
|
|||||||
## Event handling
|
## Event handling
|
||||||
You can catch the following list of events: https://codemirror.net/doc/manual.html#events
|
You can catch the following list of events: https://codemirror.net/doc/manual.html#events
|
||||||
|
|
||||||
```
|
```JavaScript
|
||||||
var simplemde = new SimpleMDE();
|
var simplemde = new SimpleMDE();
|
||||||
simplemde.codemirror.on("change", function(){
|
simplemde.codemirror.on("change", function(){
|
||||||
console.log(simplemde.value());
|
console.log(simplemde.value());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user