File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/jupyter_contrib_nbextensions/nbextensions/export_embedded Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,20 @@ define([
12
12
"use strict" ;
13
13
14
14
function initialize ( ) {
15
- console . log ( "Embedded HTML Exporter loaded!" ) ;
16
15
}
17
16
18
17
var load_ipython_extension = function ( ) {
19
18
19
+ /* Add an entry in the download menu */
20
20
var dwm = $ ( "#download_menu" )
21
21
var downloadEntry = $ ( '<li id="download_html_embed"><a href="#">HTML Embedded (.html)</a></li>' )
22
22
dwm . append ( downloadEntry )
23
23
downloadEntry . click ( function ( ) {
24
24
Jupyter . menubar . _nbconvert ( 'html_embed' , true ) ;
25
25
} ) ;
26
-
26
+
27
+ /* Add also a Button, currently disabled */
28
+ /*
27
29
Jupyter.toolbar.add_buttons_group([{
28
30
id : 'export_embeddedhtml',
29
31
label : 'Embedded HTML Export',
@@ -32,6 +34,7 @@ define([
32
34
Jupyter.menubar._nbconvert('html_embed', true);
33
35
}
34
36
}]);
37
+ */
35
38
if ( Jupyter . notebook !== undefined && Jupyter . notebook . _fully_loaded ) {
36
39
// notebook_loaded.Notebook event has already happened
37
40
initialize ( ) ;
You can’t perform that action at this time.
0 commit comments