I am trying to have a callback function called when the active cell in the notebook changes its cell type (
markdown). I am retrieving the currently active cell using the signal
NotebookPanel.content.activeCellChanged (and it works).
Then in am hooking to the
Cell returned by signal callback with
Cell.model.contentChanged but it never fires (I also tried using
Cell.model.stateChanged, but it does not work either - and I actually did not understand the difference between the two).
What am I doing wrong?