PostMessage CMS communication

This add-on enables using postMessage rather than REST calls to implement the CMS contracts. Please refer to the documentation included in the CMS integration guide for more details.

Using the iframe route in fontoxml-dev-server

This package provides a route for the fontoxml-dev-server to test iframe connector functionality. This route can be enabled by putting the following code in dev-cms/configureDevCms.js:

JavaScript

'use strict';

const routes = [
	require('../platform/fontoxml-connectors-iframe/dev-cms/routes')
];

module.exports = (router, config) => {
	return {
		routes: routes.map(route => route(router, config))
	};
};

You can then visit http://localhost:8080/iframe to use the editor.