The 'this' object does not refer to the editor #72

davidshen84 opened this Issue Apr 13, 2012 · 1 comment


None yet

2 participants

var ee = new EpicEditor($('#editor).get(0));
ee.on('save', function() {
  alert(type of this);

The this object referred to the HTML document that EE created in the IFrame. In this context, it should refer to the editor itself.


You are totally right. I fixed this in our 0.1.0 branch.


Looks like you are doing some serious work on EE! Thats great. If so you should try checking out the 0.1.0-build-refactor branch and let me know if you need help with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment