Fixed some issues with markdown editor

Made the editor grow if the content requires it.
Made the editor load content correctly as it was having issues with translating new lines.