Skip to content

Marking a line with shift "pos1 or end" and pressing del removes too much and destroys structure #1038

Closed
@Orgoth

Description

Jodit Version: 3.4.xxxxx

Browser: Chrome
OS: Kubuntu 22.04 LTS
Is React App: False

Code
https://xdsoft.net/jodit/play.html

Expected behavior:
The line should only be emptied, not completely removed and the HTML getting changed/merged.

Actual behavior:

  1. line gets completely removed
  2. the line above and below are getting merged, and the original structure is getting deleted

Reproduse:

  1. open https://xdsoft.net/jodit/play.html
  2. paste a lorem ipsum text
  3. at the end of every sentence, hit enter/return for a new line
  4. give "At vero eos et accusam et justo duo dolores et ea rebum." a style "indent or list, it does not really matter"
  5. mark the line above and hit del or back
  6. the marked line gets removed and the line above and below are getting merged

Do the same in Thunderbird, Word or any other editor like ckeditor.
The line will always only get emptied, instead of getting completely removed and the lines above and below merged.

Auswahl_621

Auswahl_622

Auswahl_623

Auswahl_624

Auswahl_625

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions