Skip to content

Swap Enter behavior in textarea #93

@rcanand

Description

@rcanand

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions