preSubmit leaves inline editing open
preSubmit leaves inline editing open
![nicontrols](https://secure.gravatar.com/avatar/5f176d4555f0f9bc7e4c4a0d362e19a6/?default=https%3A%2F%2Fvanillicon.com%2F5f176d4555f0f9bc7e4c4a0d362e19a6_200.png&rating=g&size=120)
I'm editing a field inline and checking the value using preSubmit:
editor.on( 'preSubmit', function ( e, data, action ) {
//check a few things
return false;
} );
Return false stops the submission, but leaves the inline editor still in the edit state, is there a way to "end" the edit?
This discussion has been closed.
Answers
This seems to be what I'm after