Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#28169 closed defect (bug) (wontfix)

wpeditimage tinymce plugin buttons are no longer available to other plugins/scripts.

Reported by: programmin Owned by:
Priority: normal Milestone:
Component: TinyMCE Version: 3.9
Severity: normal Keywords:
Cc: Focuses: javascript

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)

#1 @helen
12 years ago

  • Version trunk3.9

#2 @iseulde
12 years ago

  • Component EditorTinyMCE
  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

Too late now.

#3 follow-up: @programmin
12 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 @iseulde
12 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.

Last edited 12 years ago by iseulde (previous) (diff)
Note: See TracTickets for help on using tickets.