Copy link to clipboard
Copied
I have one TextArea on which is supposed to support inline images and TLF automaticlly provides options for the user to copy/paste part of text with image. I have some other text fields which should not support images(for example TextInput for search). User can copy text with image from TextArea and paste it inside TextInput. Is there any easy way to prevent this?
Best Regards, Aleksey
Copy link to clipboard
Copied
Please have a look at http://blogs.adobe.com/tlf/2010/11/custom-clipboard-formats.html. A sample is attached at the end of the article.
Copy link to clipboard
Copied
Thanks you. This is definetly step in right direction. However as I understand clipboard format is applied to all text fields in applications. I want to be able to copy/paste images in one single text field and not being able to paste images in other text fields.
Copy link to clipboard
Copied
I think you can create a filter by detecting the current focused container.