pub.leaflet.blocks.questions

leaflet.pub

Documentation

Lets readers ask the author public questions (pub.leaflet.interactions.question) and shows the ones the author has answered (pub.leaflet.interactions.answer). Questions are resolved at render time rather than stored on the block.

main object

Lets readers ask the author public questions (pub.leaflet.interactions.question) and shows the ones the author has answered (pub.leaflet.interactions.answer). Questions are resolved at render time rather than stored on the block.

Properties

audience string Optional

Who may ask: anyone, only accounts the author follows, or only accounts following the author. Defaults to anyone. Checked when a question is asked.

Known values: anyone, follows, followers
buttonText string Optional

Label for the button readers use to submit a question.

maxLength: 500 bytesmaxGraphemes: 50 graphemes
View raw schema
{
  "description": "Lets readers ask the author public questions (pub.leaflet.interactions.question) and shows the ones the author has answered (pub.leaflet.interactions.answer). Questions are resolved at render time rather than stored on the block.",
  "properties": {
    "audience": {
      "description": "Who may ask: anyone, only accounts the author follows, or only accounts following the author. Defaults to anyone. Checked when a question is asked.",
      "knownValues": [
        "anyone",
        "follows",
        "followers"
      ],
      "type": "string"
    },
    "buttonText": {
      "description": "Label for the button readers use to submit a question.",
      "maxGraphemes": 50,
      "maxLength": 500,
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

Lexicon Garden

@