https://github.com/discourse/discourse/pull/5378
PR created to prevent duplicate pasting if both image and text available in clipboard.
While copy paste from Word, Excel, etc., composer receives multiple inputs with data types like text/plain, text/html, text/rtf and file image/png from clipboard. (for the same copied content)
By default text/plain getting used. Instead if we use text/html by converting it to markdown then not only tables we can support more HTML tags while copy paste.
Else I can convert plain text to markdown table for now.