Configuring Themes

Using the editingConfig option in your package.json, you can change how WebWriter treats your theme.

editingConfig["./themes/my-theme"]

Extra editing preferences to be passed along to the editor.

editingConfig[...].label

The localized name of the theme shown in the editor. Should be an object where each key is a unicode locale and each value a string.

{
  // ...
  "editingConfig": {
    // ...
    "./themes/awesome-theme": {
      // ...
      "label": {
        "de": "Fantastisches Theme"
      }
    }
  }
}