Min RK
11a9feb25f
enable keyboard manager when codemirror is focused
...
This should always be true, and mitigate focus-related keyboard bugs, such as #7555 .
11 years ago
Min RK
490248ea93
move auto_highlight to Cell
...
consolidates nearly-identical CodeCell.auto_highlight and TextCell.auto_highlight
11 years ago
Matthias Bussonnier
4e2dfe2527
Some code cleanup in javascript and python
...
change patern that are prone to error, like function redifinition
and other.
11 years ago
Thomas Kluyver
938630b475
Remove user_config js module
11 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
11 years ago
Thomas Kluyver
eb14a13843
Merge pull request #6991 from minrk/unhandled-types
...
Handle unrecognized output and cell types
11 years ago
foogunlana
dbc98b5f69
Fixed code mirror skipping Markdown cell bug
11 years ago
Min RK
bb23105fdd
Handle unrecognized outputs and cells from the future
11 years ago
MinRK
29e49329e2
use CodeMirror.runMode to highlight in markdown
...
instead of highlight.js
11 years ago
MinRK
d979f4bedd
better regex replacement for MarkdownCell.set_heading_level
...
(c/o Matthias)
11 years ago
MinRK
dd95b1ef5f
remove heading cells in v4
11 years ago
Thomas Kluyver
659accf69e
Add event for Markdown cell rendered
11 years ago
Matthias Bussonnier
bd8413dfc7
Use low overhead object heritence in Js (Object.create vs new)
...
the use of
XX.prototype = new YY();
Does trigger the constructor of YY without the nead for it. `Object.create`
does go around this limitation and target browser that are relatively Old.
Cf https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create
for more info
It might help to get rid of some logic in constructors that check wether some
options are passed in, that were causing errors on noteboko load. Typically
`if(element){ }` on Abstract `Cell` constructor.
11 years ago
Matthias BUSSONNIER
5b355936df
Update to codemirror 4
...
Update to codemirror 4.6 and update most notebook to work wiht it
this include keyevent that where triggerd twice and the re-writing of
ipython-gfm anf ipython mode to work with require.
11 years ago
Matthias BUSSONNIER
9657a3f7cd
Generalise render/unrender to all cells type
...
Allow change of behavior in pure (custom) css.
11 years ago
Min RK
780ceee03a
Merge pull request #6415 from Carreau/move-md-show-logic
...
Move md-cell display logic to css
11 years ago
Jessica B. Hamrick
d46606a48b
Trim anchor link in heading cells, fixes #6324
12 years ago
Fernando Perez
a5fd908b28
Merge pull request #6408 from minrk/new-cell-code
...
make default cell type configurable
12 years ago
Matthias BUSSONNIER
186c8ae41d
remove useless comment
12 years ago
Matthias BUSSONNIER
a9b4bdc03f
Move md-cell display logic to css
12 years ago
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
12 years ago
MinRK
6038612732
don't hide cell toolbar on rendered text cells
...
because it annoys @Carreau
12 years ago
Thomas Kluyver
c15284d716
Merge pull request #6238 from ivanov/cm-heading-fonts
...
proportional font-size when editing heading cells
12 years ago
Paul Ivanov
fd53a306c4
Merge pull request #6197 from ivanov/set-text-rendered
...
changing text of cell should reset rendered status
12 years ago
Paul Ivanov
468e568ea7
appropriate heading level when loading from JSON
12 years ago
Min RK
a2a70b40e2
Merge pull request #6145 from Carreau/style-cleanup
...
JS/CSS Style cleanup
12 years ago
Paul Ivanov
66733621de
proportional font-size when editing heading cells
...
@MinRK @takluyver and I had the idea to do this when we were discussing #6225 .
12 years ago
Paul Ivanov
86f38a8f3b
call unrender() when setting text of cells
12 years ago
Min RK
254d372522
Merge pull request #6227 from Carreau/cellt-g-event
...
Use global event for celltoolbar
12 years ago
Matthias BUSSONNIER
2c4f2f98a6
Use global event for celltoolbar
12 years ago
Matthias BUSSONNIER
a97f4f69cc
move styling from js to css
12 years ago
Matthias BUSSONNIER
52309fba7c
Transfer of border-box-sizing from js to css
...
`border-box-sizing` is pure styling, it has nothing to do in Javascript
it should be put in css to be overwritable.
12 years ago
Paul Ivanov
e52f3ac85b
allow splitting and merging of heading cells
...
I consider it a bug that you couldn't merge with heading cells, and that
you couldn't split them, either. (So much so that I thought it was a bug
in ipython-vimception when I ran into it).
This change removes that limitation, so heading cells are on par with
the other cells in terms of the kinds of manipulations one can carry out
with them.
12 years ago
Paul Ivanov
294df0e623
changing the text should reset rendered flag
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
2d7a4a7879
Some JS test fixes
12 years ago
jon
70ffd96eb9
Added some nice comments,
...
so devs can easily figure out what options to pass
into the objects they want to construct.
12 years ago
jon
d9ab2d203a
In person review with @ellisonbg
12 years ago
jon
1e098560b8
Revert "Google hangout review comments."
...
This reverts commit 4e120e76014b2630f957c01d17ba3926d4848872.
12 years ago
Jonathan Frederic
eb2b1ab4a4
Google hangout review comments.
12 years ago
Jonathan Frederic
c2c87e1a76
nbconvert api tests fixes
12 years ago
Jonathan Frederic
2ba8945cab
Fix all the bugs!
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
152e23dc76
Progress...
12 years ago
Jonathan Frederic
fb32b6561f
Start of work to make notebook.html requirejs friendly.
12 years ago
Min RK
2c8a53aca1
Merge pull request #5944 from jdfreder/i5943
...
Markdown rendering bug fix.
12 years ago
Jonathan Frederic
d84c8fa863
Fixed mardown rendering bug.
...
The wrong signature of `$()` was being used
wrong: http://api.jquery.com/jQuery/#jQuery1
right: http://api.jquery.com/jQuery/#jQuery2
Instead of implictly calling parseHTML, call it explicitly.
closes #5943
12 years ago
Jonathan Frederic
802f74e190
Create ipythongfm mode
12 years ago
Raffaele De Feo
5b6b8e2bbf
Why overriding a method if the new one is exactly the same of the one
...
in the base class?
12 years ago