moved firefox paste capturing to inlineAttachment logic