[wp-trac] [WordPress Trac] #39423: Create add_editor_script, analogous to add_editor_style (add JavaScript to TinyMCE)

WordPress Trac noreply at wordpress.org
Fri Dec 30 01:58:11 UTC 2016


#39423: Create add_editor_script, analogous to add_editor_style (add JavaScript to
TinyMCE)
---------------------------+-----------------------------
 Reporter:  paulschreiber  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 It would be helpful to be able to load external and inline JavaScript in
 to TinyMCE.

 Suggestion: create an `add_editor_script()` function, analogous to
 `add_editor_style()`.

 Use case: embed handlers or shortcode handlers that require custom
 JavaScript.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39423>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list