[wp-trac] [WordPress Trac] #40847: the wpImageFormSubmit JS event has disappeared from the tinymce image plugin

WordPress Trac noreply at wordpress.org
Thu Jun 1 18:59:20 UTC 2017


#40847: the wpImageFormSubmit JS event has disappeared from the tinymce image
plugin
------------------------------------+-------------------------
 Reporter:  imath                   |       Owner:  azaozz
     Type:  defect (bug)            |      Status:  reviewing
 Priority:  normal                  |   Milestone:  4.8
Component:  Editor                  |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  javascript
------------------------------------+-------------------------

Comment (by azaozz):

 This was an old "hack" to the TinyMCE `image` plugin left over from the
 initial implementation in WordPress 3.9. There were few more events added
 in there. It probably should have been removed long time ago (note that
 this plugin is not used by default in WP). In TinyMCE 4.6 the plugin was
 changed quite significantly to keep maintaining this hack.

 If a third party plugin still needs the changed default `image` plugin, it
 would be best to include it and add it as external plugin to TinyMCE.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40847#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list