Min RK
a540078d8d
Merge pull request #5605 from AlbertHilb/CellToolbar
...
Two cell toolbar fixes.
12 years ago
Raffaele De Feo
61bdcb477b
When a preset is activated fire "preset_activated" event.
...
On "preset_activated" event, update the value of the maintoolbar select element that lists celltoolbar presets.
When a preset is registered after notebook is loaded, active it if needed.
12 years ago
Raffaele De Feo
59dbab6121
Removed "cell_types" parameter from "select_ui_generator".
...
If you don't want to show the UI element in a cell use the
"register_callback" optional parameter.
12 years ago
Raffaele De Feo
dcf77aa2a0
Hide toolbar of rendered text cells.
12 years ago
Raffaele De Feo
5a53a034f4
Hide the cell toolbar if there are no ui controls in it.
12 years ago
Raffaele De Feo
9f959342fa
Added an optional parameter to "CellToolbar.register_callback".
...
It lists the cell types the UI element must inserted in.
12 years ago
MinRK
4bc14c1154
never use `for (var i in array)`
...
because javascript is terrible
12 years ago
MinRK
0fb011ef68
allow cell toolbar presets to apply only to specific cell types
12 years ago
MinRK
549b343a88
tweak global hide/show
...
make hierarchical rather than either/or. Also, don't use the same class name for the outer and inner css classes.
12 years ago
Matthias BUSSONNIER
d2a41e902f
remove more hard coded layout
12 years ago
Matthias BUSSONNIER
e175bec1a7
fixes #4039 .
...
Issues is that $(selector).val() return the associated text if no data
is present (hence one cannot associate explicitely an option to
"undefined")
fix in doc and example.
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago