froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.

Home Page:https://www.froala.com/wysiwyg-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backspace deletes character and the current line

lepult opened this issue · comments

Expected behavior.

Deleting the last character in a line before a <br> should delete that character. The current line should not be removed.

Actual behavior.

Deleting the last character in a line before a <br> deletes that character, and the line.

Steps to reproduce the problem.

Using this example(in Chrome or Edge)

  1. create a <br> behind "test" by pressing Enter + Shift
  2. write a character
  3. delete that character by pressing Backspace
Editor version.

4.1.4

OS.

Windows 11

Browser.

Chrome and Edge (It works as expected in Firefox)

Recording.

In the recording I pressed backspace three times.

Animation4