wp_editor in thickbox with ajax content
-
Hello,
I have a problem with wp_editor.
In brief – on admin page of my plugin I have a bunch of inputs, a base textarea (wp_editor) which works fine, and a link like this:
<a class="thickbox button" id="add-tip-<?php echo $id; ?>" href="/wp-admin/admin-ajax.php?action=admin_tip&id=<?php echo $id; ?>" title="Add Tip">Add Tip</a>
In my ajax page I have only:
<form method="post" action="..."> wp_editor($content, "tip"); </form>
This is opening thickbox just fine with ajax content loaded (inline – not as iframe), the textarea is “almost” transformed. I see 2 tabs (Visual|Text), and Media Uploader.
Visual tab is disabled – nothing happens when I click it.
Madia Uploader is opening, but apter selecting – for example – image, thickbox is closing, and image is inserted into main textarea, or nowhere…Someone won fight with wordpress and dynamic textareas with media uploader?
- The topic ‘wp_editor in thickbox with ajax content’ is closed to new replies.