Describe the bug
When pressing Shift+Tab to unindent a numbered list, an uncaught error is thrown. I have been able to reproduce this error in every version of SunEditor from v2.43.14 onwards. It appears that this uncaught error was introduced in v2.44.0. The functionality works as expected in version 2.43.14.
To Reproduce
Steps to reproduce the behavior:
Create a numbered list and add text
Press enter to create a second line
Press tab to indent the numbered list and add text
Press shift tab to unindent the point and the uncaught error will get thrown
Expected behavior
The numbered list should become unindented.
Screenshots1. Setting up to reproduce:
2. After pressing shift+tab to unindent the second line, the error is thrown from core.js at line 7427:
3. Expected result (present in v2.43.14):
Desktop (please complete the following information):
Describe the bug When pressing Shift+Tab to unindent a numbered list, an uncaught error is thrown. I have been able to reproduce this error in every version of SunEditor from v2.43.14 onwards. It appears that this uncaught error was introduced in v2.44.0. The functionality works as expected in version 2.43.14.
To Reproduce Steps to reproduce the behavior:
Expected behavior The numbered list should become unindented.
Screenshots 1. Setting up to reproduce:
2. After pressing shift+tab to unindent the second line, the error is thrown from
core.js
atline 7427
:3. Expected result (present in v2.43.14):
Desktop (please complete the following information):