Skip to content

The selected content is changed when switching to the HTML mode and backΒ #964

Open
@khlopik

Description

Jodit Version: 3.24.7 (Jodit Playground page)

Browser: Chrome
OS: Linux
Is React App: False

Code
Not required. Can be reproduced on the Jodit playground page.

Steps to reproduce:

  1. Open the Jodit playground page (https://xdsoft.net/jodit/play.html).
  2. Select any part of the content.
  3. Switch to the HTML mode
  4. Switch back to the general mode.

Expected behavior: The content should not be changed.
Actual behavior: The content is changed.

Please take a look at 2 example videos on how to reproduce the bug.

Peek.2023-03-27.08-40.-.JoditEditor.-.bug.reproduce.2.mp4
Peek.2023-03-27.08-40.-.JoditEditor.-.bug.reproduce.mp4

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions