I am having an issue with CKeditor click event and double-click events. Currently, I am binding click event and double click event to the CKEditor dom.
editor.on('doubleclick', function (evt) {
console.log("doubleclicked");
//Some ajax calls
}, null, null, 999 );
editor.on('click', function (evt) {
console.log("clicked");
//Some ajax calls
}, null, null);
An issue with above code is, it fires click event first as well when I double-click the element. Both codes execute when I double click on the element.
Any solution for CKEditor for above case?
My question is related to CKeditor plugin. So I have to bind proper (built-in) events for click and double click.