Skip to content

Copy-pasting content containing <pre> tags results in a loss of formatting. #1378

Description

@tienhoangkhmt

Jodit Version

4.12.30

Browser

Chrome

Operating System

Windows

Is React App?

No

Reproduced on xdsoft.net?

Yes

Code to reproduce

Copy-pasting content containing `<pre>` tags results in a loss of formatting.

Expected behavior

https://drive.google.com/file/d/19CR94zx4ZeFSbG3MEIiHdGmUnhyXrBQO/view?usp=sharing

log.txt

Actual behavior

Check for errors as shown in my video.
I've sent you the log source file in log.txt. Please check it soon; it involves many code tags and pre-code tags.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions