Skip to content

Enter and tab behaviour feedback #1552

Closed

Description

@karmatosed

This is a very specific feedback from a user test sent in via the testing form, so thought worth issue:

"I find the "enter" and "tab" behavior to be absolutely maddening. I expect at the end of an unordered list that hitting enter twice will LEAVE the list and start a new paragraph, instead I'm trapped in a list.

I find it bizarre that tab doesn't indent things like it does in every other editor I can remember using. Don't me wrong, I LOVE keyboard shortcuts and tab between form fields regularly, but these aren't form fields these are full on WYSIWYG content blocks and I expect them to behave like Word, TextEdit, etc... all do when it comes to the keyboard.

I need keyboard shortcuts for formatting things, like turning 5 lines into an unordered list, or indenting/de-indenting some text.

I've tried HARD to write in this, but after a few paragraphs I'm at my wits end and go back to the old editor because this is just too slowly and awkward."

Activity

  1. added
    [Type] Enhancement
    on Jun 28, 2017
  2. swissspidy commented on Jun 28, 2017

    @swissspidy
    Member

    I find the "enter" and "tab" behavior to be absolutely maddening. I expect at the end of an unordered list that hitting enter twice will LEAVE the list and start a new paragraph, instead I'm trapped in a list.

    See #1482.

    Tab for indentation definitely makes sense to me.

  3. jwold commented on Jun 28, 2017

    @jwold

    That's some great feedback.

    When I'm going longform on article writing I use shortcuts common to many editors, or write in markdown.

    A few shortcuts I use very regularly:

    • Unordered/ordered lists
    • Heading sizes
    • Bold, italics, strike, underline
    • Code
  4. afercia commented on Jun 28, 2017

    @afercia
    Contributor

    Tab for indentation definitely makes sense to me.

    Beware of keyboard traps 🙂

  5. afercia commented on Jul 26, 2017

    @afercia
    Contributor

    I find it bizarre that tab doesn't indent things like it does in every other editor I can remember using.

    Just wanted to add that this is not how HTML works 🙂 Users sometimes get confused by what desktop editors (Word) do and they expect that works also in HTML.
    Instead, in HTML multiple spaces and tabs get converted to a single space. It's a SGML thing and there's nothing we can do about that.
    Even when there's a "visual" indentation, for example with unordered/ordered lists, that's not a tab character and it's usually rendered with some padding or margin.

    Only in preformatted text the tab characters are respected, or when using the related CSS properties.

  6. karmatosed commented on Nov 6, 2017

    @karmatosed
    MemberAuthor

    Closing as moving to the project. We are moving things to projects that aren't core Gutenberg and need to be done apart.

  7. added a commit that references this issue on Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions