Adjusted editor to highlight only the text when inserting Markdown.