mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-25 08:50:14 +02:00
Merge pull request #103 from brondsem/getstate_code
Add getState() support for code
This commit is contained in:
commit
32cab53986
|
@ -88,6 +88,8 @@ function getState(cm, pos) {
|
|||
ret.quote = true;
|
||||
} else if(data === 'strikethrough') {
|
||||
ret.strikethrough = true;
|
||||
} else if(data === 'comment') {
|
||||
ret.code = true;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue