Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#19443 closed enhancement (invalid)

We can't use WordPress' editor inside a Thickbox

Reported by: erayalakese's profile erayalakese Owned by: erayalakese's profile erayalakese
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: TinyMCE Keywords: reporter-feedback
Focuses: 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 (6)

#1 @azaozz
12 years ago

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).

#2 @ocean90
12 years ago

  • Keywords reporter-feedback added; needs-patch removed
  • Severity changed from major to normal

#3 @SergeyBiryukov
12 years ago

  • 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

#4 @erayalakese
12 years ago

  • 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.

#5 @c3mdigital
11 years ago

  • Keywords reporter-feedback added; needs-testing removed

Can anyone verify this in current release or trunk?

#6 @helen
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Let's not worry about Thickbox so much :) Can reopen if it's something that WordPress is doing wrong (as opposed to these two external libraries just interacting badly).

Note: See TracTickets for help on using tickets.