question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with backspace and alphanumeric caractere

See original GitHub issue

I use SunEditor with ReactJS and I install SunEditor with npm install sundeditor --save

SunEditor version : 2.41.3.

Describe the bug In SunEditor, when I write a sentence like “Hello world, I use SunEditor” and I press [Backspace] key, the full sentence is deleted and not just the “r”.

But if I start the sentence with a special character like this “@ Hello […] SunEditor” and I press [Backspace] key so the last character is deleted and not the full sentence

Expected behavior When [Backspace] key is pressed, only one character is deleted.

Hnet-image (1)

Desktop (please complete the following information):

  • OS: [Big Sur]
  • Browser: [chrome]

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vphucommented, Sep 13, 2021

@JiHong88 yes, with your link, no error and other functions work normally. I will try to reinstall SunEditor and try in a new project.

Thx

0reactions
JiHong88commented, Sep 11, 2021

@vphu No errors occur? Do other functions work normally?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with backspace and alphanumeric caractere #868
In the React component that includes SunEditor, I write some sentence. When I want to delete a character with the backspace key. It...
Read more >
Windows 10 alphanumeric character keys not recognised
The enter, cursor, delete, backspace keys etc work - just not the alphanumeric keys. Restart does not cure it. Device manager does not...
Read more >
Regex for Alphanumeric, delete, backspace,space, But not ...
Backspace has character code 8 and can be represented using \b . Space is just a space. Delete, the arrow keys, Home and...
Read more >
zsh: make ALT+BACKSPACE stop at non-alphanumeric ...
How can I keep CTRL + w as it is, and change ALT + Backspace so that it stops at non-alphanumeric characters. ie,...
Read more >
Regular Expression for alphanumeric and backspace
Backspace generally works for any regex validation as reg validation is invoked for the string. You can try ... KeyEventArgs e) { if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found