pub.leaflet.blocks.reply

leaflet.pub

Documentation

Lets readers submit their own documents as replies to this one (pub.leaflet.interactions.reply) and shows the ones the author made visible (pub.leaflet.interactions.replyVisibility). Replies are resolved at render time rather than stored on the block.

main object

Lets readers submit their own documents as replies to this one (pub.leaflet.interactions.reply) and shows the ones the author made visible (pub.leaflet.interactions.replyVisibility). Replies are resolved at render time rather than stored on the block.

Properties

buttonText string Optional

Label for the button readers use to submit a reply.

maxLength: 500 bytesmaxGraphemes: 50 graphemes
promptText string Optional

Text inviting readers to reply, shown beside the button.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
showPublicationTheme boolean Optional

Render each reply in its own publication's theme. Defaults to true.

View raw schema
{
  "description": "Lets readers submit their own documents as replies to this one (pub.leaflet.interactions.reply) and shows the ones the author made visible (pub.leaflet.interactions.replyVisibility). Replies are resolved at render time rather than stored on the block.",
  "properties": {
    "buttonText": {
      "description": "Label for the button readers use to submit a reply.",
      "maxGraphemes": 50,
      "maxLength": 500,
      "type": "string"
    },
    "promptText": {
      "description": "Text inviting readers to reply, shown beside the button.",
      "maxGraphemes": 300,
      "maxLength": 3000,
      "type": "string"
    },
    "showPublicationTheme": {
      "description": "Render each reply in its own publication's theme. Defaults to true.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

Lexicon Garden

@