Browse Source

Update docs

Steven Silvester 8 năm trước cách đây
mục cha
commit
02ba98f629
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/notebook/notebook/actions.ts

+ 1 - 1
src/notebook/notebook/actions.ts

@@ -900,9 +900,9 @@ namespace Private {
       if (replace) {
         child.model.source = text;
       } else {
+        // Create a new code cell and add as the next cell.
         let cell = parent.model.factory.createCodeCell();
         cell.source = text;
-        // Add the child as the next cell
         let cells = parent.model.cells;
         for (let i = 0; i < cells.length; i++) {
           let widget = parent.childAt(i);