Module to handle collaborative editing.
Apply the remote operation to the current document.
Parameter | Type | Description |
---|---|---|
action | string |
Specifies the remote action type. |
data | string | ActionInfo |
Specifies the remote operation data. |
Returns void
Get module name.
Returns string
Send the current action to the server.
Returns void
This function updates the room information and server url of the collaborative editing session.
Parameter | Type | Description |
---|---|---|
roomName | string |
Specifies the current collaborative editing room name. |
version | number |
Specifies the current version of the document. |
serviceUrl | string |
Specifies the base url of the collaborative editing service. |
Returns void