-
Couldn't load subscription status.
- Fork 90
Open
Description
I have an inline editor of type textarea:
<inline-editor type="textarea" rows="10" cols="50" [(ngModel)]="name"></inline-editor>
The default behavior while editing the field is for enter to submit and close, and for shift+enter to go to next line in textarea. I would like the ability to configure these to be swapped - i.e, I want enter to go to next line within the text area, and shift enter to submit.
This is useful because if I have a hundred lines of text to enter in the textarea, and one time to submit at the end, I want to hit enter each time to add a new line - and then hit shift enter when done.