Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #21811, comment 18


Ignore:
Timestamp:
01/23/2014 12:30:44 AM (11 years ago)
Author:
tomauger
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21811, comment 18

    v1 v2  
    66c) how to modify the existing image-edit.js to include a simple eventing system that can be leveraged by plugin devs to, for instance, do something when the editor is invoked and ready.
    77
     8''I need to point out that this plugin demonstrates the length one has to go in order to be able to extend the current image editor. My intention is to submit a patch that introduces a few hooks and integrates the js changes into image-edit.js.''
     9
    810I will follow with a plugin that leverages this framework to show how to implement custom cropping of all the different image sizes individually.