WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 8 months ago

#19443 closed enhancement (invalid)

We can't use WordPress' editor inside a Thickbox

Reported by: erayalakese Owned by: 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)

comment:1 azaozz2 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).

comment:2 ocean902 years ago

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

comment:3 SergeyBiryukov2 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

comment:4 erayalakese2 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.

comment:5 c3mdigital8 months ago

  • Keywords reporter-feedback added; needs-testing removed

Can anyone verify this in current release or trunk?

comment:6 helen8 months 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.