froala/wysiwyg-editor

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

Opened this issue · 0 comments

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