Update medium-editor.js
Merge pull request #341 from valentinnew/patch-1

Missing event variable fix