diff --git a/packages/roosterjs-content-model-plugins/lib/watermark/WatermarkPlugin.ts b/packages/roosterjs-content-model-plugins/lib/watermark/WatermarkPlugin.ts index 73ff77861ce..718c864c2b0 100644 --- a/packages/roosterjs-content-model-plugins/lib/watermark/WatermarkPlugin.ts +++ b/packages/roosterjs-content-model-plugins/lib/watermark/WatermarkPlugin.ts @@ -62,7 +62,10 @@ export class WatermarkPlugin implements EditorPlugin { return; } - if (event.eventType == 'input' && event.rawEvent.inputType == 'insertText') { + if ( + (event.eventType == 'input' && event.rawEvent.inputType == 'insertText') || + event.eventType == 'compositionEnd' + ) { // When input text, editor must not be empty, so we can do hide watermark now without checking content model this.showHide(editor, false /*isEmpty*/); } else if (