convergencelabs / monaco-collab-ext

Adds collaborative editing capabilities to the Monaco Editor
https://convergencelabs.com
MIT License
219 stars 25 forks source link

Support Monaco >= 19.0.0 #3

Closed ianberdin closed 4 years ago

ianberdin commented 4 years ago

I ran on monaco 0.19.0 and cursors doesn't work:

“"cssMode.js?db4f:54 Uncaught (in promise) TypeError: monaco.languages.registerSelectionRangeProvider is not a function””

It’s may help: Monaco-editor did breaking changes: getConfiguration() is replaced by getRawOptions(), which returns the passed in editor options.

mmacfadden commented 4 years ago

@ianberdin Thanks for reporting the issue, I am taking a look at it now and will see if we can provide a quick fix.

CGNonofr commented 4 years ago

https://github.com/convergencelabs/monaco-collab-ext/pull/4

mmacfadden commented 4 years ago

We pushed 0.3.0 which should address this issue.