Configure the editor

This steps assumes you already have a configured instance of FontoXML Editor. If you do not already have an editor instance configured, please refer to the  FontoXML Editor Guides to get started.

This article guides you through the process of integrating Content Quality in an instance of the FontoXML Editor.

  1. Install the fontoxml-content-quality add-on:
    Add the fontoxml-content-quality package to your editor.

  2. (Optional) Install the fontoxml-content-quality-languagetool add-on:
    Add the fontoxml-content-quality-languagetool package to your editor.

  3. (Recommended) Add the following element to the review section of your masthead:

    <FxOperationButton
    	operationName="toggle-content-quality"
    />
  4. (Optional) Add the configuration to your config/configuration.js:

    configurationManager.set('content-quality-configuration', {});

    See the documentation for the available configuration properties. This includes configuration for the language, schema, and visuals.

  5. Configure the Content Quality Server URL to use, by specifying a proxy for FontoXML Content Quality in your CMS's routing/endpoints (or in config.json for fontoxml-dev-server), for example https://content-quality-app.company.com

    {
    	"scope": {
    		"documentIds": ["content-quality.xml"]
    	},
    	"proxy": {
    		"content-quality": "http://localhost:6000"
    	}
    }
  6. (Optional) Implement custom annotation types.
  7. Build & Start the FontoXML Editor to verify it starts without errors.

Was this page helpful?