openDocumentByURL

Release 2.3.0+

Imports a document into the editor from a URL.

Parameters

NameTypeDescription
urlstringDocument URL

Example

const url = '/resource/test.docx';
editor.openDocumentByURL(url);