Opened 18 months ago

Last modified 18 months ago

#19443 new enhancement

We can't use WordPress' editor inside a Thickbox

Reported by: erayalakese Owned by: erayalakese
Priority: normal Milestone: Awaiting Review
Component: TinyMCE Version: 3.2.1
Severity: normal Keywords: needs-testing
Cc:

Description (last modified by SergeyBiryukov)

At my plugin's admin page, a have a EDIT link like this :

<a class="button-secondary thickbox button" title="EDIT" href="<?php echo WP_PLUGIN_URL.'/plugin-name/'; ?>edit.php?id=<?php echo $ID;?>">EDIT</a>

When user click it, it'll open href in a thickbox . Thickbox should contain /plugin-name/edit.php?id=1's content, for example.

It's working very well. But i want to add WordPress' rich text editor to edit.php . I'll explain my problem with a short video.

http://screenr.com/eoEs

Change History (4)

Still not sure what exactly you want to do: add TinyMCE in an iframe inside a thickbox popup or just grab some elemets from the page (DOM) and move them in a thickbox...

The first would probably work, the second will not. Also it seems you're testing with the release version (3.2.1) instead of trunk (3.3RC1).

  • Keywords reporter-feedback added; needs-patch removed
  • Severity changed from major to normal
  • Description modified (diff)
  • Summary changed from We can't use Wordpress' editor inside a Thickbox to We can't use WordPress' editor inside a Thickbox
  • Keywords needs-testing added; reporter-feedback removed

@azaozz, when i tried to add TinyMCE to a thickbox directly, i'm getting error (as you can see in video) . I think it's a bug.

Note: See TracTickets for help on using tickets.