froala/wysiwyg-editor

Selection of a list does not work properly after using 'paragraph format normal' on it

Opened this issue · 0 comments

Expected behavior.

The whole list should be selected by clicking anywhere to the right of the last item and dragging across it.

Actual behavior.

You can only select the whole list by clicking at the last character otherwise the cursor is at the start of the last item hence it wont be part of the selection.

Steps to reproduce the problem.

Select few lines
format to (un)ordered list
paragraph format to 'normal'

Editor version.

tested on v3.1.0 and on the live demo https://froala.com/wysiwyg-editor/demo/

OS.

Windows 10 (also MacOS)

Browser.

chrome 125.0.6422.77
(could not reproduce in firefox)

Recording.
2024-05-29.11-29-26.mp4