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

Ordered and unordered lists don't work #3166

Open
weeebdev opened this issue Sep 16, 2022 · 0 comments
Open

Ordered and unordered lists don't work #3166

weeebdev opened this issue Sep 16, 2022 · 0 comments

Comments

@weeebdev
Copy link

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

It's rather a bug or my own mistake

What is the current behavior?

When I call RichUtils.toggleBlockType it doesn't add list

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/.

See the sandbox https://codesandbox.io/s/draft-js-with-custom-components-rko84h?file=/src/CustomEditor.tsx

What is the expected behavior?

Added list when click on the corresponding button on the toolbar.

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

idk

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