RichText/Archived/Rooster/Rooster.gcomp/Support/node_modules/roosterjs/dist/rooster-amd.js
/**
 * Build ClipboardData from a paste event
 * @param event The paste event
 * @param editor The editor
 * @param callback Callback function when data is ready
 */
Build ClipboardData from a paste event
@param event The paste event
@param editor The editor
@param callback Callback function when data is ready
Build ClipboardData from a paste event @param event The paste event @param editor The editor @param callback Callback function when data is ready
function buildClipboardData(event, editor, callback) {
    roosterjs_editor_dom_1.extractClipboardEvent(event, function (items) {
        if (items.html === undefined) {
            retrieveHtmlViaTempDiv(editor, function (html) {
                items.html = html;
                callback(items);
            });
        }
        else {
            callback(items);
        }
    });
}
function buildClipboardData ( event , editor , callback ) { roosterjs_editor_dom_1 . extractClipboardEvent ( event , function ( items ) { if ( items . html === undefined ) { retrieveHtmlViaTempDiv ( editor , function ( html ) { items . html = html ; callback ( items ) ; } ) ; } else { callback ( items ) ; } } ) ; }
Build ClipboardData from a paste event
 @param event The paste event
 @param editor The editor
 @param callback Callback function when data is ready
Build ClipboardData from a paste event @param event The paste event @param editor The editor @param callback Callback function when data is ready