Copy an Image and Text together to Clipboard, using ActionScript? - actionscript-3

Is there any way to copy an Image and some relevant text (Like a Description to the image, added programmatically), so that these can be pasted together (On some application like Excel; outside the Flex Application).

Related

html2canvas text alignment is off

I'm using html2canvas to allow users to download a div element to their local files as an image.
What they are saving is an image with dynamic text on top of it that changes based on their user input (this whole div becomes one image).
The saving part works, and users can save the div as an image to their local files. However, the dynamic text moves downward and the image looks off because of it.
I tried to make changes to html2canvas code based on someone's solution on github, but it didn't work and I reset this code to the original.
Is this a common problem that others have faced? How do I solve this problem without hard-coding the solution (moving the dynamic text up on the web application so when it moves downward when saving, it looks how it's supposed to look)?
Thanks!

ReqactQuill Editor resizing on long text

Having an issue with the React-Quill (not necessarily the package itself) but when I paste (or type) a large amount of text into the editor, it resizes instead of scrolls. I am using the editor in flex boxes - which is what I assume the problem to be but I cannot see how to get around it.
How do I keep the text editor contained within the div it is placed?
Code Sandbox Example

Display Text with HTML image tag inside WPF control

I try to display a Text that contains a string plus HTML tags, and render images.
SourceText="TextToDisplay <img Source="Http://...cat.png"> and thats <b>it</b>";
RichTextBox doesnt work well.
I found some NuGet packages:
HtmlRenderer : But cannot access image that needs my Windows credentials to access, no way to send credential, so i got error 404 for images.
HtmlAgilityPack : Does not work for images
HtmlRichTextBoxBehavior : Does not work for images
I'm out of ressources....
Use case is I try to replicate TFS Description box in a WorkItem, it can contains HTML tags.
When i query TFS api to get Description, thats what we receives and i want to display the same box with the same iamges....
It's WPF, so you can just build whatever custom control you want very easily.
Start with a TextBlock and an Image control inside a StackPanel and go from there. It doesn't have to be any more complicated than that if you don't want it to. Or you can add a bunch of extra functionality if you need extra features. WPF gives you the flexibility to build whatever you want.
<StackPanel>
<TextBlock Text="TextToDisplay"/>
<Image Source="http://myUrl.../myImage.png"/>
</StackPanel>
This places them one after the other. If you want them to overlay one another, use a Grid to hold them. If you want a MouseOver effect, use a PopUp control. If you want an actual hyperlink in the UI, use the WPF Hyperlink element.

Why does sublime text 2 eventually stop working and becomes unresponsive?

I am trying to build the google homepage for an assignement and sublime text 2 was working for all the header part, but when I add the google logo image and try to resize it or move it around...it just doesnt respond. It doesn't resize the image or moves it anywhere. Why does sublime stop working like that. It has happened to me once before and I copied and pasted everything to a new file multiple times to get it to be responsive. Here are pictures of my code and I can't seem to get the google logo image to size down or move at all.
Here is the css http://imgur.com/dbgG99O
here is the html http://imgur.com/Nse7RSN
Thanks
Sounds like a CSS problem you are having. Your text editor has nothing to do with it. Be sure to reload your browser when you make changes in Sublime as well.

HTML & CSS - How to show a .SVG but let end-users click and copy a .PNG when clicking and dragging away (or copying in general)

Imagine you have an image in two versions, one being a .SVG and another one being a .PNG version.
You show the .SVG on a webpage, but when end-users click and drag that image for example into their social media app, you would like them to have copied the .PNG version instead of the .SVG version (since, some of those media apps can't handle .SVGs).
Using only HTML and CSS, is this possible? Many thanks for your help.
Could the same answer be extended to also work when the end-user would copy the presented image in another way (such as through mouse-interaction, by selecting the visible image and then copying through keyboard shortcuts or menu mouse-navigation)?