Skip to content

Settings to be applied to all slides #17

@reki2000

Description

@reki2000

Problem

If all slides have the same string like "Created date: 2017-10-20", model.json should have the same setting on EVERY slide settings.

Solution

Introduce "global" setting into model.json

Specification

The same settings for each slides, but written under "global" key in JSON.

If a key in "slides" setting has the same name with the key defined in "global", the value defined in "slides" is used.

{
  "global": {
     "<key1>": "<value1>",
     "<key2>": { <chart settings> }
  },
  "slides": {
     "<slide_id>": {
        "<key1>": "<value1_local>",       # this value is used instead of <value1> in global
       ....
     }
  }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions