Opened 12 years ago
Closed 12 years ago
#28921 closed defect (bug) (fixed)
link button remains disabled when using wp_editor in front end since r29183
| Reported by: | imath | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | TinyMCE | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Attachments (1)
Change History (6)
#4
follow-up:
↓ 5
@
12 years ago
- Resolution fixed
- Status closed → reopened
Hi,
i confirm r29190 fixed the problem. But i'm reopening this ticket to let you know that since r29203, when you select some text, the link / unlink button remain disabled on front end and in back end. To make them available you now need to (for instance) first click on the 'bold' button. It looks like selecting the text is no more refreshing the link button state.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Ah, I see where this is coming from: if the
window.wp.mceis not loaded the wpview plugin returns early and doesn't expose any methods. We can check ifeditor.plugins.wpview.getViewexists but probably better to have anoop()for it.