GrapesJS / GrapesJS/grapesjs

BUG: Japanese input adds empty return

Open
#6,420 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
26.2k
Forks
4.6k
Avg merge
2d 21h
Merged PRs (30d)
6

Description

### GrapesJS version

- [x] I confirm to use the latest version of GrapesJS

### What browser are you using?

Chrome Version 133.0.6943.127 (Official Build) (arm64)

### Reproducible demo link

https://grapesjs.com/demo.html

### Describe the bug

**How to reproduce the bug?**
1. Create a text block
2. Start typing any japanese characters
3. Choose an entry from the auto-suggestion float box

**What is the expected behavior?**
Chosen entry should be entered into the text block

**What is the current behavior?**
Chosen entry is entered but is invisible and new return in added to the bottom of the text block

If is necessary to execute some code in order to reproduce the bug, paste it here below:
n/a

https://github.com/user-attachments/assets/3dd992d8-dc13-4043-885a-d56ea57a1964

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.