WordPress.org

Ready to get started?Download WordPress

Forums

Sending The Uploading image to excerpt Textarea!! (1 post)

  1. hamzaz
    Member
    Posted 7 years ago #

    Hey , How i can , change the " Send to Editor " action of Uploading images to " Send to Excerpt " ?

    In uploading-js.php , i find the code , which send then image code to content ,

    var win = window.opener ? window.opener : window.dialogArguments;
                            if ( !win )
                                    win = top;
                            tinyMCE = win.tinyMCE;
    
     if ( typeof tinyMCE != 'undefined' && tinyMCE.getInstanceById('content') ) {
                                    tinyMCE.selectedInstance.getWin().focus();
                                    tinyMCE.execCommand('mceInsertContent', false, h);
                            } else
                                    win.edInsertContent(win.edCanvas, h);
                            if ( !this.ID )
                                    this.cancelView();
                            return false;

    " tinyMCE.getInstanceById('content') " i can't direct it to Excerpt Textarea at this file edit-form-advanced.php .

    How i can make " Send to Excerpt "???

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags