| ... | ... | @@ -100,7 +100,10 @@ const ComposerPendingUserInputCard = memo(function ComposerPendingUserInputCard( |
| 100 | 100 | if (target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement) { |
| 101 | 101 | return; |
| 102 | 102 | } |
| 103 | | if (target instanceof HTMLElement && target.isContentEditable) { |
| 103 | if ( |
| 104 | target instanceof HTMLElement && |
| 105 | target.closest('[contenteditable]:not([contenteditable="false"])') |
| 106 | ) { |
| 104 | 107 | return; |
| 105 | 108 | } |
| 106 | 109 | const digit = Number.parseInt(event.key, 10); |