add advice for cursor movement, activate the advices when edts-rte-mode
is on, and deactivate the advices when edts-rte-mode is off