Making WordPress.org


Ignore:
Timestamp:
06/07/2016 07:28:51 PM (9 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: In textarea for user notes, make the 'tab' key insert a tab.

Adapts JS code, behavior, and help string from core. It is still possible to navigate out of the field by first pressing escape (sometimes twice), then tab.

Also sets tab-size to match that used on display.

Props afercia for insight.
Fixes #626.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php

    r1687 r3316  
    7070                '</p><p>' .
    7171                __( 'You can enter text and code. Use the php, js, or inline code buttons to wrap code snippets.', 'wporg' ) .
     72                '</p><p>' .
     73                __( 'In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key. In some cases the Esc key will need to be pressed twice before the Tab key will allow you to continue.', 'wporg' ) .
    7274                '</p><p class="user-notes-are-gpl">' .
    7375                sprintf( __( '<strong>NOTE:</strong> All contributions are licensed under <a href="%s">GFDL</a> and are moderated before appearing on the site.', 'wporg' ), 'https://gnu.org/licenses/fdl.html' ) .
Note: See TracChangeset for help on using the changeset viewer.