apiKeyfield with your own, which you can get here.
codox.init()the CodeMirror editor should be fully initialized. In the example code, we ensure that CodeMirror is initialized first by adding an
initializedevent hook to CodeMirror constructor.
usernameshould come from your document management service. Codox expects
docIdto be globally unique across your service.
codoxobject. That means if you are running multiple instances of CodeMirror editor on the same page or with in the same application, there should be multiple instances of
codox,one for each CodeMirror editor instance or document fragment (note: each document fragment should be uniquely identifiable).
configparameter is a JSON object with the following key-value pairs:
user.namewill be used to render the default text-based initials avatar. To create an image-based avatar, set
user.avatarto the path of the image resource.
trueto start the co-editing session automatically on
init(config). Set to
falseto initialize but delay start the co-editing (see the
start()client API). Default setting is