Topic: Tracking Changes / Highlighting Characters
Hi,
I'm trying to implement a simple change tracking plugin.
One of it's features is to highlight / format deleted text, without deleting it from the editor.
To realize that I added custom code as follows - but I'm still missing a proper solution for applying a custom formating to the cursor's next character.
ed.onKeyDown.addToTop(function(ed, e) {
// handle delete
if(e.keyCode == 46){
// DO HIGHLIGHTING...
return false;
Can anyone help me out with that - any suggestions - any ideas?
Thanks!