title: How to change Angularjs xeditable text/textarea behavior?
body: <p><br>
  I use angularjs and xeditable in my application. I would like to change the behaviour of editable textarea and editable text to allow the validation when the user click outside. <br>
  It will be better with an example : <br>
  <br></p>
  
  <pre><code>&lt;span editable-textarea="item.label.text" e-rows="2" e-cols="80" buttons="no" onshow="onShow()" onhide="onClose()"&gt;{{item.label.text}}&lt;/span&gt;
  </code></pre>
  
  <p><br>
  With this code, we can't see the buttons to validate and to cancel our choice. Moroever the enter key doesn't validate, so it's impossible for the user to validate his choice.<br>
  What I want to do is changing the behaviour of the enter key to validate the new text. And I want to add the possibility for the user to change text and when he click outsite the <code>textarea</code>, the new text will be save.<br>
  <br>
  The problem is I have no idea of how to do that even after reading all the documentation of xeditable and I didn't find the solution on any forum.<br><br>
  Do you have an idea of how can I do that ?</p>
  
  <p>Thank you in advance</p>