Skip to content

Commit

Permalink
Merge branch 'main' into support-multiple-pasting-formats
Browse files Browse the repository at this point in the history
  • Loading branch information
astrocket authored Jan 5, 2024
2 parents 2370a26 + 95b3746 commit 26beacd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,13 @@ export default class NestedList {
*/
event.preventDefault();

/**
* Prevent duplicated event in Chinese, Japanese and Korean languages
*/
if (event.isComposing) {
return;
}

/**
* On Enter in the last empty item, get out of list
*/
Expand Down

0 comments on commit 26beacd

Please sign in to comment.