Skip to content

When paste it into a piece of text, the cursor position appears a bit strange. #1315

@Tam13062002

Description

@Tam13062002

Environment:
Ver: Jodit Editor 4.7.9
Browser: Chrome 140., FireFox 142.
Can be reproduced in sandbox: https://xdsoft.net/jodit/play.html?iframe=true&enter=DIV&currentTab=State

STR:

When paste it into a piece of text, the cursor position appears a bit strange. Then, if you press the backspace key just once, the last character that was pasted will be lost.In fact, it's more logical to have the mouse cursor focus at the end of the text than on a new line.
The text :

<html>
<body>
<!--StartFragment--><div>tamdm:10,000</div><div >tamdm:100,000</div><!--EndFragment-->
</body>
</html>
Recording.2025-12-23.104945.mp4

The text :

<html><body>
<!--StartFragment--><div ><span ><div>商品名: À-696</div><div>数量:10</div><div>単価:10,000</div><div>金額:100,000</div></span></div><!--EndFragment-->
</body>
</html>
Recording.2025-12-23.114609.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions