mdEdit seems to be unmaintained (the last commit was on the 17th October 2015). Therefore, it would maybe make sense to think about a replacement. A really nice editor, for example, is [SimpleMDE](https://simplemde.com/) (see also [Github repo](https://github.com/NextStepWebs/simplemde-markdown-editor)).