This works perfectly, but it also selects everything on the page, witch is super annoying when the designer is hosted on a page with other elements.
Simply passing the event to execute or making it an option to get it called when we call registerCommand would be nice.
Could you add a way to call "preventdefault" when an otkey has been triggered ?
For instance, i have
This works perfectly, but it also selects everything on the page, witch is super annoying when the designer is hosted on a page with other elements. Simply passing the event to execute or making it an option to get it called when we call registerCommand would be nice.