Prevent users from posting text into container field

One of my customer ran into an issue today with Mirror Sync not wanting to sync text in a container field. I am not looking for a way to prevent or at least warn a user against pasting text into a container field.

any suggestions on how to stop this from happening? I am thinking there must be a way to identify if the user is pasting text and not a file? I could check for supported file extensions but I like to support just about anything so not sure that would work well.

GetContainerAttribute ( Enrolments::container ; "Storage Type" ) = "Text"


Is there a way to check before I insert it into the container?

You'd need plugin that can inspect the clipboard.

Thanks so much for the help.