mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-07 13:07:22 +08:00
appropriate heading level when loading from JSON
This commit is contained in:
parent
66733621de
commit
468e568ea7
@ -365,6 +365,7 @@ define([
|
||||
this.level = data.level;
|
||||
}
|
||||
TextCell.prototype.fromJSON.apply(this, arguments);
|
||||
this.code_mirror.setOption("theme", "heading-"+this.level);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user