First of all, I'm using:
My goal:
The problem:
What should I do to solve this? Any tips are welcome.
You dont need to change your plugin. You could bind paste event and clear the content just before the paste. So the mask wont be keeping any spaces to prevent you from making your paste.
$('input.class').bind('paste', function () { $(this).val(''); });