Add the ability to prevent pasting in content to the Ace editor, brought over from KA.org.