diff --git a/src/editor/parts.ts b/src/editor/parts.ts index 70e6f82518..f5649fbc63 100644 --- a/src/editor/parts.ts +++ b/src/editor/parts.ts @@ -361,7 +361,7 @@ class NewlinePart extends BasePart implements IBasePart { class EmojiPart extends BasePart implements IBasePart { protected acceptsInsertion(chr: string, offset: number): boolean { - return false; + return mightContainEmoji(chr); } protected acceptsRemoval(position: number, chr: string): boolean {