fixed editor content loading, added functionality behind create post button