SetSignatureAsync inserts the signature in the wrong place when signature is reinserted #4937
Labels
Area: Outlook
Issue related to Outlook add-ins
Needs: author feedback
Waiting for author (creator) of Issue to provide more info
Provide required information needed to triage your issue
Your Environment
Expected behavior
With a web add-in that inserts email signatures both automatically (event-based) and manually (from a task pane), at any point in time the "setSignature" API is called, the signature is inserted in the right place, regardless of how the user manipulated the email or where the request comes from.
Current behavior
When the web add-in inserts a signature automatically (event-based, message composed) and the user removes it and starts writing content, the next signature inserted manually (setSignature through task pane) will be inserted in the middle of the email content instead of at the end.
Steps to reproduce
Provide additional details
There is an issue around the removal of the signature placeholder when deleting (step 2 in the steps to reproduce). This is visible when the font in compose mode is different than the font of the signature, as the first line will still be using the signature font, while the others will reset and get the email body font.
A workaround is to, when starting to type inside the message (step 3), write a character and then remove it. This is probably either deleting the signature placeholder or resetting the format. However, it is a workaround and we can't tell customers to just do that always.
The text was updated successfully, but these errors were encountered: