---
title: "PSML editor config"
source: https://dev.pageseeder.com/guide/configuration/psml/psml_editor_config.html
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~733
---

# PSML editor config

The `editor-config.xml` contains configurations for editors, used to edit the document.

It is located at:

`template/[project]/psml/[document type]/`

The config has the following format:

```xml
<editor-configs>
  <editor-config name="[editor name]">
    // config options for editor
  </editor-config>
  <editor-config name="[editor name]">
    // config options for editor
  </editor-config>
</editor-configs>
```

where `editor name` can be one of the following: 

- `PSMLProperties` – for options see [PSML properties editor](psml_properties_editor.md).
- `PSMLMetadata` – same options as PSML properties editor but used for document metadata properties.
- `PSMLXRefs` – for options see [PSML XRefs editor](psml_xrefs_editor.md).
- `PSMLCreation` – same options as PSML properties editor but used for document and fragment creation. *Requires PageSeeder v5.98 or higher.***

> **Obsolete:** The editor name of `PSMLLabelValues` is not supported as of PageSeeder v6.

> **Obsolete:** The following text is for legacy reference only. PageSeeder no longer uses the `editor-config.json` JSON format to configure the editor. PageSeeder v5.96 or higher uses the `edtor-config.xml` XML file described above.

The config has the following format:

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

where `Editor` can be one of the following: 

- `PSMLXRefsConfig` – for options see [PSML XRefs editor (JSON) (obsolete)](../../../../_local/archive/2022/06/layout/javascript/editor_config/psml_xrefs_editor_json.md).
- `PSMLPropertiesConfig` – for options see [PSML properties editor (JSON) (obsolete)](../../../../_local/archive/2022/06/layout/javascript/editor_config/psml_properties_editor_json.md).
- `PSMLMetadataConfig` – same options as PSML properties editor but used for document metadata properties.
- `PSMLLabelValuesConfig` – same options as PSML properties editor except it supports type “richtext” and the PSML document must use inline/block labels instead of properties as shown in this example:
\<fragment id="8" type="details"\>
  \<para\>Title \<inline label="title"\>Alice's Adventures in
        Wonderland\</inline\>\</para\>
  \<para\>ISBN\<inline label="isbn"\>9783161484100\</inline\>\</para\>
  \<para\>Author \<inline label="author"\>Lewis Caroll\</inline\>\</para\>
  \<para\>Language \<inline label="language"\>English\</inline\>
                \<inline label="language"\>Spanish\</inline\>\</para\>
  \<para\>Available Date \<inline label="available-date"\>2012-01-01
                \</inline\>
  \</para\>
  \<para\>Related \<inline label="related"\>
        \<xref .../\>\<xref .../\>\</inline\>
  \</para\>
  \<block label="richtext"\>Description
    \<block label="description"\>
      \<para\>When \<bold\>Alice\</bold\> sees a white rabbit ...\</para\>
    \</block\>
  \</block\>
\</fragment\>

- 

