mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Add linewrapping to text cells (new feature in CodeMirror).
This commit is contained in:
parent
ef1cc56996
commit
df7d91f30a
@ -34,6 +34,7 @@ var IPython = (function (IPython) {
|
||||
theme: 'default',
|
||||
value: this.placeholder,
|
||||
readOnly: this.read_only,
|
||||
lineWrapping : true,
|
||||
onKeyEvent: $.proxy(this.handle_codemirror_keyevent,this)
|
||||
});
|
||||
// The tabindex=-1 makes this div focusable.
|
||||
|
Loading…
Reference in New Issue
Block a user