Events functionality
A few things:
- Added onblur and onfocus events
- Esc event on inline edit will return value to original before element was edited and blur the element
- Debug mode is off by default
Nice work. I am just curious why you didn't use dispatchEvent instead of a callback.
@alexrass I have a number of fixes in my branch as well, and I'd like to use this. The diff is hard to read though because of the whitespace, can you retain the original indentation? (which threw me off as well).
Can you update this patch to the latest so we can merge it?
I haven't tested this piece of code, I haven't used it in a while so if you do decide to merge it in, make sure it actually works
Hey, i would love to see this also with onKeyup and onKeydown to hook some functionality to the rather simple inline mode.
We had some reorganization of the code base to better work with multi instances and browser compatibility. Would you be able to update your merge one last time, sorry for the frustration.
Hey @alexrass would you have some time to update your merge? These events are useful.
Agreed.
On Fri, Jul 3, 2015 at 5:44 PM, Jonatas Walker [email protected] wrote:
Hey @alexrass https://github.com/alexrass would you have some time to update your merge? These events are useful.
— Reply to this email directly or view it on GitHub https://github.com/jakiestfu/Medium.js/pull/14#issuecomment-118430994.
Robert Plummer