Make editor work for embedded comments.
Refactoring, get rid of editor-opener.js.