Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Error when trying to decrease indent of list item with class #4762

Open
lepult opened this issue Mar 19, 2024 · 0 comments
Open

Script Error when trying to decrease indent of list item with class #4762

lepult opened this issue Mar 19, 2024 · 0 comments

Comments

@lepult
Copy link

lepult commented Mar 19, 2024

Expected behavior.

You should be able to decrease the indent of a list item, that contains the class attribute.
like this: <li class="test123">Test<\li>

Actual behavior.

Froala throws the following error, when you try to decrease the indent:
grafik

Steps to reproduce the problem.

Using this example

  1. Try to decrease the indent of the first list item (like in the recording)
  2. Try to decrease the indent of the second list item

You will see that you can't decrease the indent on the first list item, while you can on the second list item. This is because the first list item has a class, while the second doesn't.

Editor version.

4.1.4

OS.

Windows 11

Browser.

Chrome, Edge and Firefox (I didn't test it in any other browsers)

Recording.

Animation5

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

No branches or pull requests

1 participant