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

Error - Letters that reverse on first writing #1403

Closed
johnnybaida opened this issue May 29, 2024 · 1 comment
Closed

Error - Letters that reverse on first writing #1403

johnnybaida opened this issue May 29, 2024 · 1 comment
Labels
Milestone

Comments

@johnnybaida
Copy link

johnnybaida commented May 29, 2024

Describe the bug
When writing a word quickly, Suneditor's cursor is placed before the letter, this phenomenon causes the word to be written incorrectly

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://suneditor.com/sample/html/options.html
  2. Select checkbox strictMode
  3. Select checkbox Value
  4. Enter the following HTML in the Value textarea: <span style="font-family: &quot;Comic Sans MS&quot;;">il giaguaro</span><p class="test" data-text="test">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean mollis porttitor massa, non tincidunt risus porttitor at. Maecenas gravida interdum augue, vitae pellentesque nibh pellentesque et. Donec ac lorem eleifend, congue mauris ut, interdum mi. Aenean blandit odio at nunc semper, non suscipit ligula bibendum. Nam hendrerit sapien id dui accumsan ultricies. Nunc laoreet est non leo tempus, et pellentesque elit varius. Morbi accumsan sit amet ante in vestibulum. Quisque congue ligula erat, nec fringilla ex vulputate non.</p>
  5. Click on the Create button
  6. Click inside the editor, with the focus at the end of the text
  7. Press CTRL+A to select all the text (on Windows)
  8. Type a word as fast as you can (e.g. Hello), you will see that the first letter of the word will be spelled correctly, then the cursor will be moved and the other letters will be written to the left, resulting in the following “elloH” for example.

Expected behavior
I would have expected that the cursor would not be repositioned and the written word would have been “Hello

Screenshots
screen-recorder.webm

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Firefox
  • Version: 126.0
@johnnybaida johnnybaida changed the title Letters that reverse on first writing Error - Letters that reverse on first writing May 30, 2024
@Kryostatic94
Copy link

Kryostatic94 commented Jun 28, 2024

Same problem!

@JiHong88 JiHong88 added the bug label Aug 11, 2024
@JiHong88 JiHong88 added this to the 2.47.1 milestone Aug 11, 2024
JiHong88 added a commit that referenced this issue Jan 9, 2025
@JiHong88 JiHong88 closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants