Markdown Editor clean up.
Merge pull request #2228 from velesin/markdown_editor_clean_up

Markdown Editor clean up.