WordPress.org

Ready to get started?Download WordPress

Forums

Enter key not inserting line feed in Custom Post Quick Edit textarea (1 post)

  1. karlajw
    Member
    Posted 1 year ago #

    Working with a custom post type for this one.

    I added a custom column to the management page for the custom post type. The custom column displays a custom meta value. Then I added that custom column to the inline quick edit.

    Everything works just fine except ... the field I added to the quick edit is a textarea and pressing the enter key while in the textarea field submits the form instead of inserting a line feed in the field.

    None of the examples I found for adding custom fields to the quick edit use textareas ... they all use simple input (text, checkbox, etc) or select controls.

    Any ideas how I can get the enter key to insert a carriage return / line feed in the textarea instead of submitting the form?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic