ConverationView.onPaste: Better handling of clipboard contents
This commit is contained in:
parent
607349e0b8
commit
a1e7efee12
5 changed files with 26 additions and 6 deletions
|
@ -16,7 +16,7 @@ export function createEventHandler({
|
|||
if (
|
||||
!activeElement ||
|
||||
activeElement.matches('input, textarea') ||
|
||||
!activeElement.closest('[contenteditable=true]')
|
||||
!activeElement.closest('[contenteditable=plaintext-only]')
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue