Api.setHtmlFromPopup

 Show all Hide all

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

See also

Most of the time you'll want to use Api.pasteHtmlFromPopup instead.

Usage

Api.setHtmlFromPopup(html)

html : String

HTML to use.