Search results

CollaborativeEditingHandler API in JavaScript (ES5) DocumentEditor API control

Module to handle collaborative editing.

Methods

applyRemoteAction

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

getModuleName

Get module name.

Returns string

sendActionToServer

Send the current action to the server.

Returns void

updateRoomInfo

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