an event emitter for when the cursor position changes inside of a contenteditable element