Open bearded-avenger opened 9 years ago
I encountered this as well, in my instance attributes was not specified because i did not need to set any. You can place a blank {} in attributes or go into Medium.js and change:
Line 557 - remove = attributes.remove || [];
to
Line 557 - remove = ( attributes ? attributes.remove || [] : [] );
Just a heads up, invoke element is returning an undefined in Chrome. Possibly the same as https://github.com/jakiestfu/Medium.js/issues/131
http://cl.ly/image/1S0J1q1o2b2w
This is now returning
Uncaught TypeError: Cannot read property 'remove' of undefined
in Chrome.