standardCmsClient

Type: Class

How to get standardCmsClient?

JavaScript

import standardCmsClient from 'fontoxml-connectors-standard/src/standardCmsClient.js'

Deprecated!

This is deprecated.

Implementation of CmsClient that communicates with the standard CMS connector REST contracts. Handles communication with the CMS, as configured by the scope passed to the Fonto application.

Don't import directly. Use ConnectorsManager to get the current configured cms client.

Methods

createContext

Type: Function

Creates an object that can be used as the context request parameter, as commonly seen by requests made in the Standard CMS Connector.

The context includes an editSessionToken, which can be used to uniquely identify the instance of Fonto. See Invocation of the Fonto Editor for details.

Arguments

Returns