Improve copy-image context-menu algorithm
This commit is contained in:
parent
59ebf3dcb4
commit
73690d36e8
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ export const setup = (
|
|||
params.mediaType === 'image' &&
|
||||
params.hasImageContents &&
|
||||
params.srcURL &&
|
||||
!editFlags.canCopy; // emoji should not be treated as an image
|
||||
!params.selectionText.trim();
|
||||
|
||||
const showMenu =
|
||||
params.isEditable || editFlags.canCopy || isLink || isImage;
|
||||
|
|
Loading…
Add table
Reference in a new issue