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

Selecting all content and typing does not replace existing content #17294

Open
jbalinski opened this issue Oct 21, 2024 · 2 comments
Open

Selecting all content and typing does not replace existing content #17294

jbalinski opened this issue Oct 21, 2024 · 2 comments
Labels
package:engine package:select-all package:table type:bug This issue reports a buggy (incorrect) behavior.

Comments

@jbalinski
Copy link

📝 Provide detailed reproduction steps (if any)

  1. Type some text
  2. Insert a table
  3. Navigate to the end of the table
  4. Use CTRL + A to select all text
  5. Start typing to replace the text with new text

✔️ Expected result

The selected text should be removed and replaced with newly typed text.

❌ Actual result

The new text is inserted at the beginning of all the existing text. This appears to happen when the first or last content in the editor is a table. Doesn't seem to be a problem with Firefox. Just Chrome and Edge.

📃 Other details

  • Browser: Edge 129, Chrome 130
  • OS: Windows 11 Pro
  • First affected CKEditor version: Latest version

Can reproduce this issue on the ckeditor demo site: https://ckeditor.com/ckeditor-5/demo/feature-rich/

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@jbalinski jbalinski added the type:bug This issue reports a buggy (incorrect) behavior. label Oct 21, 2024
@Witoso
Copy link
Member

Witoso commented Oct 22, 2024

Cannot reproduce on Mac, could you share a recording, so that we do the reproduction steps correctly? Navigate to the end of the table has many meanings.

Thank you!

@Witoso Witoso added pending:feedback This issue is blocked by necessary feedback. package:engine labels Oct 22, 2024
@jbalinski
Copy link
Author

Here is a screen capture of the issue.https://github.com/user-attachments/assets/4f8f88ee-7b9f-4c36-af7f-f2c79b42cfeb

@CKEditorBot CKEditorBot removed the pending:feedback This issue is blocked by necessary feedback. label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:engine package:select-all package:table type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

3 participants