When writing text in a list it should be possible to use backspace without JS errors.
When pressing the backspace key in a list (ordered or unordered) a JS error occurs:
Failed to execute 'matches' on 'Element': 'li:first' is not a valid selector.
3.0.3
Windows 10
Chrome 75.0.3770.142
I got same problem, too.
I thought the reason is li:first is the valid selector to jQuery but not native js matches method.
And froala team are doing replace jQuery with native js but miss the selector handling.
We find that when this error occurs the onChange callback isn't called. Meaning our model and editor contents get out of sync. We've had to make changes to our code to work around the fact that Froala will drift out of sync when people are making quick edits to bullet point lists.
We have an application experiencing this also, Have seen 3,415 instances of this error in the last 8 days. Will a fix for this be coming soon as it's creating a lot of noise in our logs.
Most helpful comment
We have an application experiencing this also, Have seen 3,415 instances of this error in the last 8 days. Will a fix for this be coming soon as it's creating a lot of noise in our logs.