create editor on load
updated html