Log in or register to post comments
Dialog textarea and enter button
I think I'm overlooking something very obvious, so please forgive me.

I am creating a simple plugin that has a dialog w/ a textarea. I would like users to be able to hit "enter" within this textarea to create a newline. However, hitting enter fires the 'okbutton' and closes the dialog box.

How can I stop this from happening?