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
Raffaele De Feo
dcf77aa2a0
Hide toolbar of rendered text cells.
12 years ago
Min RK
d88b2ccc4a
Merge pull request #5310 from ivanov/fix-5238
...
remove raw cell placeholder on focus, closes #5238
12 years ago
Paul Ivanov
2e4036fd4f
raw cell placeholder text as one line
12 years ago
Paul Ivanov
37852baa6d
render on focus out, always pad raw cells
12 years ago
Paul Ivanov
cd38181438
remove raw cell placeholder on focus, closes #5238
12 years ago
Paul Ivanov
b9e448b160
DRY: refactor common keyboard handling to Cell
...
Our edit mode keyboard shortcuts don't distinguish between being in a
code cell or in a text cell, so it makes sense to handle both in one
place. This is a first step in that direction.
12 years ago
Paul Ivanov
bf3ecdb35f
DRY: factor out common handle_keyevent method
...
This method was identical in both CodeCell and TextCell
12 years ago
Paul Ivanov
71d4c427c9
refactor to improve cell switching in edit mode
...
This code was repeated in both CodeCell and TextCell, both of which are
extensions of Cell, so this just unifies the logic in Cell.
TextCell had logic here to check if the cell was rendered or not, but I
don't believe it is possible to end up triggering such a code path.
(Should that be required, I can always just add back these methods to
TextCell, performing the .rendered==True check, and calling the Cell
prior to this, code mirror at_top would only return true on if the
cursor was at the first character of the top line. Now, pressing up
arrow on any character on the top line will take you to the cell above.
The same applies for the bottom line. Pressing down arrow would only go
to the next cell if the cursor was at a location *after* the last
character (something that is only possible to achieve in vim mode if the
last line is empty, for example). Now, down arrow on any character of
the last line will go to the next cell.
12 years ago
Paul Ivanov
8889a7581c
start better keyboard handling
12 years ago
MinRK
7d87978a66
fix a typo introduced by a rebased PR
...
caused heading cells to appear in both rendered and unrendered state
12 years ago
MinRK
5f7f1c51ec
remove unused security warning
12 years ago
MinRK
890c0be1dd
always sanitize markdown
...
don't check if it's safe or not
12 years ago
Brian E. Granger
31c9e08fa8
Don't render insecure Markdown and show warning.
12 years ago
Brian E. Granger
fa3f998295
Adding security.js with 1st attempt at is_safe.
12 years ago
Brian E. Granger
af7dd15181
Removing old keyboard handling from IPython.utils.
12 years ago