Skip to content

Commit f8bb1cc

Browse files
authored
Fixed the example issue
1 parent 39bbed2 commit f8bb1cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/global-apis/editor-manager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ function listener(){
9090
console.log("user has switched a file")
9191
}
9292

93-
editorManager.editor.on("switch-file", listener) // listens to file switch event
94-
```
93+
editorManager.on("switch-file", listener) // listens to file switch event
94+
```

0 commit comments

Comments
 (0)