Opened 11 years ago
Closed 11 years ago
#28921 closed defect (bug) (fixed)
link button remains disabled when using wp_editor in front end since r29183
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Attachments (1)
Change History (6)
#1
@
11 years ago
Version 0, edited 11 years ago
by
(next)
#2
@
11 years ago
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed
In 29190:
#4
follow-up:
↓ 5
@
11 years ago
- Resolution fixed deleted
- Status changed from closed to 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.
Ah, I see where this is coming from: if the "media" is not loaded the wpview plugin returns early and doesn't expose any methods. We can check if
editor.plugins.wpview.getView
exists but probably better to have anoop()
for it.