Closed tamagokun closed 9 years ago
inlineAttachment stopped working when upgrading to 4.3.
I replaced the block on L51 with:
codeMirror.on('drop', function(data, e) { e.stopPropagation(); e.preventDefault(); return inlineattach.onDrop(e); });
I'm not sure if this is backwards compatible with CodeMirror < 4, or how you would best distinguish which method to use (setOption or on)
setOption
on
Just wanted to present my findings should anyone else be in this situation.
Thanks for sharing your findings, i will keep this open and fix this soonish.
Fixed in #36, i will keep this open until v2 is released
inlineAttachment stopped working when upgrading to 4.3.
I replaced the block on L51 with:
I'm not sure if this is backwards compatible with CodeMirror < 4, or how you would best distinguish which method to use (
setOption
oron
)Just wanted to present my findings should anyone else be in this situation.