jupyter / nbformat

Reference implementation of the Jupyter Notebook format

Home Page:http://nbformat.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get the cell id after creating the cell using JS?

wenmin-wu opened this issue · comments

Hi, I use JS to insert a cell below current cell, however the cell.id is not available after creating.

var newCell = Jupyter.notebook.insert_cell_below("markdown");
console.log(newCell.id); #undefined