Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Post History
Current functionality At present, text and images can be pasted into the Codidact post editor "Body" field separately, but not together. Each of these works in a specific way. Text Text is paste...
#1: Initial revision
## Current functionality At present, text and images can be pasted into the Codidact post editor "Body" field separately, but not together. Each of these works in a specific way. ### Text Text is pasted as plain text, with no formatting. If you copy a paragraph that contains **bold** and *italics* only the text will be pasted, so you would need to add in the bold and italics yourself. Similarly if you copy a paragraph containing a hyperlink only the link text will be pasted, not the destination URL. ### Images Pasting in a single image results in the image being uploaded to Codidact, and Markdown for displaying the image being added to the "Body" field. ## Desired functionality ### Combining text and images Places where you can paste in a combination of text and images in one go, such as a word processor, also paste in the formatting of the text, so bold, italics, and hyperlinks are present. Codidact posts are entered as plain text with formatting being in the form of markup (HTML or Markdown). Pasting in formatting is not currently supported in a Codidact post. What would you want the result to be when pasting in formatted text and images together? - Plain text (discarding formatting) and images uploaded to Codidact and replaced with the Markdown to display them? - Plain text with additional HTML to recreate the copied formatting, and images uploaded to Codidact and replaced with the HTML to display them? - Plain text with additional Markdown to recreate the copied formatting, and images uploaded to Codidact and replaced with the Markdown to display them? I'm guessing that the benefit of copying text and included images in one go would be lessened if you then had to reapply formatting by hand. Do you have a use for pasting where the text becomes unformatted but images are included? If not then the feature request will probably need to be expanded to cover how formatted text should be treated.