Implements and refactors clipboard feature for markdown.
Merge pull request #7032 from erbunao/markdown_clipboard

Implements clipboard feature for markdown areas.