• Resolved cjhaas

    (@chrisvendiadvertisingcom)


    In WordPress 4.0RC1, when writing a post with a list, both ordered or unordered, if you press tab the list gets indented (a child ol/ul is created) but then focus immediately leaves TinyMCE. In 3.9, at least in Chrome, tab didn’t cause indentation, it just left the field.

    Because the indentation happens it appears that you should be able to keep typing which, depending what keys you press, either starts editing the title or causes a draft to be saved.

    Here’s a video showing the 3.9 version and the 4.0 version

    Steps to reproduce

    1. Create a new post
    2. Press the ordered or unordered list button
    3. Type a word
    4. Press enter
    5. Press tab

    Behavior
    List gets indented and then focus jumps to Save Draft button

    Expected Behavior
    List gets indented, focus remains in list
    OR
    List does not get indented and focus jumps to Save Draft button (3.9 behavior)

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Huh. This looks like a TinyMCE problem, but since it’s been around since 3.9 it’s not a critical 4.0 bug. My thought is it should actually indent and focus stay on the list. It works like that on http://www.tinymce.com/ right now.

    I’ve made https://core.trac.wordpress.org/ticket/29430#ticket for this, since it SHOULD be fixed somewhere, but this may not make 4.0 unless @azzoz has a flash of brilliance.

    We mark posts that have trac tickets as resolved for sanity. It lets mods and volunteers know we don’t have to jump in and find an issue. You should follow the discussion on trac. You can click the ‘Watch’ button on the trac ticket (it’s near the bottom) to get email alerts. If you need to log in, it’s the same ID/password as you use for the forums.

Viewing 1 replies (of 1 total)
  • The topic ‘Pressing tab in TinyMCE indents lists and then leaves the field’ is closed to new replies.