Usable in popups opened by menuItemPopup. Overwrites the current contents of the HTML editor identified by the inputName
parameter to menuItemPopup
and then closes the popup.
If the menu item is not a popup, if the input field does not exist or if the input field is not a HTML editor then behavior is undefined
Most of the time you'll want to use Api.pasteHtmlFromPopup instead.
Api.setHtmlFromPopup(html)
HTML to use.