Update editor_plugin.js

copy from yogaboy (MBlock)