• Split the active cell into two or more cells.

    Parameters

    • notebook: Notebook

      The target notebook widget.

      Notes

      It will preserve the existing mode. The last cell will be activated if no selection is found. If text was selected, the cell containing the selection will be activated. The existing selection will be cleared. The activated cell will have focus and the cursor will remain in the initial position. The leading whitespace in the second cell will be removed. If there is no content, two empty cells will be created. Both cells will have the same type as the original cell. This action can be undone.

    Returns void

Generated using TypeDoc