#28169 closed defect (bug) (wontfix)
wpeditimage tinymce plugin buttons are no longer available to other plugins/scripts.
Reported by: | programmin | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9 |
Component: | TinyMCE | Keywords: | |
Focuses: | javascript | Cc: |
Description
Pre-3.9, you could "monkey patch" the tinymce.activeEditor.plugins.wpeditimage._editImage function, adding specific edit/delete buttons' functionality to special images.
Now this is a private JS function, you can't access it at all.
Change History (4)
#2
@
10 years ago
- Component changed from Editor to TinyMCE
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
#3
follow-up:
↓ 4
@
10 years ago
What do you mean "too late"? From what I understand plugin developers are no longer recommended to replace their shortcodes with images in editor (Nextgen) but they should use the wp-views system, same as playlists/galleries/etc.
#4
in reply to:
↑ 3
@
10 years ago
Replying to programmin:
What do you mean "too late"? From what I understand plugin developers are no longer recommended to replace their shortcodes with images in editor (Nextgen) but they should use the wp-views system, same as playlists/galleries/etc.
By now plugin authors will have worked around that problem. It doesn't make sense to fix this now.
Yes, you can use wpviews. If you're replacing a shortcode with an image, you can use the data-mce-placeholder
attribute and you won't get an image toolbar for it.
Too late now.