Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34823, comment 10


Ignore:
Timestamp:
10/05/2016 06:48:47 PM (8 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34823, comment 10

    initial v1  
    66I looked into this and I think php may be the simplest bet for the insert which is handled quite separately from an edit of existing content. looking at wp.media.editor.insert i do see that you can override the default behavior by creating a (global) window.send_to_editor function, but the code would need to be completely different and we don't fire any type of event here you can hook into other than possibly `mceInsertContent`.
    77
    8 Good luck! Closing this as wontfix.
     8Good luck!