I am trying to implement a rich text editor based on the HTML5 canvas element. It needs to support basic text formatting features as well as keyboard shortcuts (Ctrl + C, Ctrl + V, etc.).
I am unsure wether I should build the code around jQuery, so I can use its keypress() method. I would prefer to avoid the use of jQuery for better performance, but I learnt that there are several issues when using the browser's native onkeypress() event (inconsistency across browsers) that are nicely solved in jQuery.
Does anybody have some experience in this area? Would you advise me to stick to jQuery?
Important: The editor will only work on browsers capable of HTML5 canvas. So I dont need to consider IE8 or older, etc.