Instead of gedit, the text content of LibreOffice is not plain text . This may be one of the reasons why it does not allow dragging content into the input field.
An interesting fact is that if you drag content from a web page to a document in Writer, you’ll get the HTML content of the page (all tags), but if you do the same in Google Chrome, you’ll get rich content (like color, formatting, etc.). This has been reported by other people .
If you try to drag the contents of LibreOffice to any area in Firefox, this will be the same problem.
So, the problem is not your code, but that LibreOffice (Writer, Impress and all other applications) integrate with the browser libraries.
Hope this helps you, this is not a common problem.
thanks
source share