How to ignore modifiers in TextEditor?

Is there some way to simply ignore modifiers in a TextEditor, so that, for example, if you type a ‘4’ with the option key down, it still gets accepted as a ‘4’, and not ‘¢’ >