Update editor_plugin.js

Fix Chrome issue with resize image (first click not recognized as selection is not set)