JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.74k stars 309 forks source link

The cursor unexpectedly moves to the beginning of the line after second character while typing after a table. #1316

Open tilakbasyal opened 12 months ago

tilakbasyal commented 12 months ago

Describe the bug The cursor unexpectedly moves to the beginning of the line after second character while typing after a table.

To Reproduce Steps to reproduce the behavior: Place the cursor at the end of the table. Type any characters while the cursor is at the end of the table Observe the cursor position for the first characters and other characters.

Expected behavior The cursor moves to the beginning of the line when the user enters anything at the start or end of a table.

Desktop (please complete the following information):