From 1bc6e203e1c36e87333710b3b8d944933c2a94f8 Mon Sep 17 00:00:00 2001 From: Daniel Krenn Date: Sun, 29 Jan 2017 15:07:33 +0100 Subject: [PATCH] trigger event change.Cell --- notebook/static/notebook/js/cell.js | 1 + 1 file changed, 1 insertion(+) diff --git a/notebook/static/notebook/js/cell.js b/notebook/static/notebook/js/cell.js index 8951e42dd..89038c86b 100644 --- a/notebook/static/notebook/js/cell.js +++ b/notebook/static/notebook/js/cell.js @@ -203,6 +203,7 @@ define([ }); if (this.code_mirror) { this.code_mirror.on("change", function(cm, change) { + that.events.trigger("change.Cell", {cell: that, change: change}); that.events.trigger("set_dirty.Notebook", {value: true}); }); }