Hello
I disable usage of context menu because I use my own:
$(document).bind('contextmenu',function(e){
e.preventDefault();
});
now I need to enable default context menu on Texteditor extension.
How to do that?
I try this:
var t = $(e.target).closest('#texteditor,.texteditor');
if (!t.length){
e.preventDefault();
}
but it does not work.
Thank you