Facebook from Draft-js Repository

MIT License

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

Issue Opened
Sudiparyal185 Opened Issue On Jun 28th 2022, 1:41

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

About Repository

A React framework for building text editors.
Language: JavaScript
Star: 22262
Fork: 2672
Watchers: 22262
Open Issues: 960
https://github.com/facebook/draft-js
MIT License
Last updated: 05 Dec 2022