Advanced

Advanced topics

Editor config

PageSeeder editors can be configured in JavaScript using the JSON  files.

Configuration by document type

Projects can define their own set of editor configurations for each document type. The configuration can be changed by creating a file at:

template/[project]/psml/[type]
/editor-config.json

Where type is a document type.

This can be done automatically using the developer tools.

General configuration options

The editor config uses the JSON notation to declare how the editors should be configured for the document type:

{
  "EditorA": {
    // config options for editor A
  },
  "EditorB": {
    // config options for editor B
  }
}

 The configuration options are specific to each editor.

Created on , last edited on