Passing html to editor