I’m trying to watch for an event fired only when the actual textual content of CodeMirror changes.
I checked isClean
method and change
event but the both change/fire when other things happen to the editor, such as selection.
How can I check using those or other methods that the edited text actually has or hasn’t changed?