Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong new empty paragraph location when cursor is set after a table and <Enter> key is pressed #953

Closed
khlopik opened this issue Feb 7, 2023 · 0 comments

Comments

@khlopik
Copy link

khlopik commented Feb 7, 2023

Jodit Version: 3.24.4 (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. Create an empty paragraph before some existing paragraph (using Enter key).
  3. Add a table to the empty paragraph.
  4. Set the cursor after the table.
  5. Press Enter key.

Expected behavior:
A new paragraph should be added right after the table.

Actual behavior:
A new paragraph is added after the next paragraph.

Jodit.Editor.Issue.Reproduce.mp4
xdan added a commit that referenced this issue Feb 10, 2023
xdan added a commit that referenced this issue Feb 10, 2023
xdan added a commit that referenced this issue Feb 11, 2023
@xdan xdan closed this as completed Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants