Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Tab key does not indent if multiple items are selected from the list #3151

Open

Description

@sudiparyal185

Do you want to request a feature or report a bug?

What is the current behavior?

After creating list in draft.js. Select multiple lines and hit tab. It does not indent at all. RichUtils.onTab works if only one line is selected.
Screen Shot 2022-06-28 at 8 38 58 AM

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.

What is the expected behavior?

It should indent properly if multiple lists are selected.

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

macOS Monterey Version 12.4

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions