fix repo editor fails to preview

Editing and previewing text files on Web UI  causes an exception below and fails to preview.

```
java.util.NoSuchElementException: key not found: enableTaskList
```

`_preview` seems to require `enableTaskList` param but js in editor.html does not include it.