Using js, CSS and HTML to implement the simplest HTML editor