Hi,
I experience a problem while trying to trigger an HTML Cleaner function on the OnPaste event.
If I paste something with the CTRL+V keystrokes (or the SHIFT+INS) the function is exectute twice => KO
If I paste something with the Paste button, the function is well executed only once => OK
My function does something like this :
function cleanBeforePaste(editorInstance) {
textHtml = editorInstance.GetClipboardHTML();
[...]
editorInstance.InsertHtml(textHtml);
return false;
}
I had this issue since version 2.4.3. Is this a known issue or I misunderstood something ?
Thanks in advance
I experience a problem while trying to trigger an HTML Cleaner function on the OnPaste event.
If I paste something with the CTRL+V keystrokes (or the SHIFT+INS) the function is exectute twice => KO
If I paste something with the Paste button, the function is well executed only once => OK
My function does something like this :
function cleanBeforePaste(editorInstance) {
textHtml = editorInstance.GetClipboardHTML();
[...]
editorInstance.InsertHtml(textHtml);
return false;
}
I had this issue since version 2.4.3. Is this a known issue or I misunderstood something ?
Thanks in advance