Skip to content
This repository has been 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
sudiparyal185 opened this issue Jun 28, 2022 · 0 comments
Open

Comments

@sudiparyal185
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant