insert html from the browser to the correct editor if there are many on the page
need to allow reverting of deleted files