浏览代码

Do not make the example read only

Steven Silvester 9 年之前
父节点
当前提交
68464e4539
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      example/src/index.ts

+ 0 - 1
example/src/index.ts

@@ -65,7 +65,6 @@ function main(): void {
   let contents = new ContentsManager(SERVER_URL);
   contents.get(NOTEBOOK, {}).then(data => {
     let nbModel = new NotebookModel();
-    nbModel.readOnly = true;
     populateNotebookModel(nbModel, data.content as NotebookContent);
     let nbWidget = new NotebookWidget(nbModel);
     keymap.add(bindings(nbModel));