Fix to markdown editor