mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-07 01:54:27 -06: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…
x
Reference in New Issue
Block a user