I often draft content for posting into Discourse in Google Docs. (Not simple messages, obviously, but more formal announcements and the like, where collaborative editing is essential.) Until Monday, I could select all in a Google Doc and paste into Discourse and get semantic text formatting (other than bold and italic character styles) and images. The images came over because Google Docs put them on the macOS clipboard as URLs, and Discourse was happy to ingest them.
However, Google very recently changed things so copying from Google Docs seemingly encodes the images as Base64 instead. (I’m basing this guess on MailChimp’s tool for ingesting formatted text, which used to work fine when there were URLs but started kicking out the Base64 images on Monday.) Regardless of what’s actually happening behind the scenes, copying and pasting from Google Docs no longer brings over images, just the formatted text. Images are replaced with [image].
Obviously, it’s possible to paste an image from the macOS clipboard into a Discourse composer window, so my question is if there’s any way for Discourse to accept a combination of text and images all at once, which is much easier than having to paste text in and then insert images one at a time. I did some testing with copying text and images from various Mac apps to see if they put data on the clipboard differently, but nothing worked—I either got [image] or nothing, apart from one time when I got a little tag.
Is there any information about what sort of data Discourse can accept from the macOS clipboard and in what combinations?