Skip to content

Commit 7dfbb87

Browse files
authored
Remove Button, only in Download Menu
1 parent 6b68fe0 commit 7dfbb87

File tree

1 file changed

+5
-2
lines changed
  • src/jupyter_contrib_nbextensions/nbextensions/export_embedded

1 file changed

+5
-2
lines changed

src/jupyter_contrib_nbextensions/nbextensions/export_embedded/main.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,20 @@ define([
1212
"use strict";
1313

1414
function initialize () {
15-
console.log("Embedded HTML Exporter loaded!");
1615
}
1716

1817
var load_ipython_extension = function() {
1918

19+
/* Add an entry in the download menu */
2020
var dwm = $("#download_menu")
2121
var downloadEntry = $('<li id="download_html_embed"><a href="#">HTML Embedded (.html)</a></li>')
2222
dwm.append(downloadEntry)
2323
downloadEntry.click(function () {
2424
Jupyter.menubar._nbconvert('html_embed', true);
2525
});
26-
26+
27+
/* Add also a Button, currently disabled */
28+
/*
2729
Jupyter.toolbar.add_buttons_group([{
2830
id : 'export_embeddedhtml',
2931
label : 'Embedded HTML Export',
@@ -32,6 +34,7 @@ define([
3234
Jupyter.menubar._nbconvert('html_embed', true);
3335
}
3436
}]);
37+
*/
3538
if (Jupyter.notebook !== undefined && Jupyter.notebook._fully_loaded) {
3639
// notebook_loaded.Notebook event has already happened
3740
initialize();

0 commit comments

Comments
 (0)