Api.pasteHtmlFromPopup

Usable in popups opened by menuItemPopup. Pastes HTML into 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

Alternatives

You can also use the Execute or NewEdit component's admin_pastehtmlfrompopup column.

Usage

Api.pasteHtmlFromPopup(html)

Parameters

html : String

HTML to paste. It will be pasted at the current caret position in the HTML editor.