WordPress.org

Forums

"Add Link" and other buttons not working with wp_editor() (1 post)

  1. yarnboy
    Member
    Posted 2 years ago #

    Hello folks,

    I'm modifying a plugin to use multiple instances of wp_editor(). Text formatting is working just fine, but clicking the "Add Link" button in the link dialog box does nothing, and the multi-file media uploader hangs up (browser uploader works fine). Here is the code from one of my instances:

    $desc_content = stripslashes($data->event_desc);
    
    $args = array(
    	'textarea_name' => 'event_desc',
    	'textarea_rows' => '5',
    	'teeny' => 'true'
    	);
    wp_editor($desc_content, 'eventdescription', $args);

    Just to make sure it wasn't my code, I installed the sample plugin from this tutorial:

    http://www.presscoders.com/category/wordpress-tutorials/

    . . . and had the same problem. Anyone else have this issue?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags