pub.leaflet.blocks.questions
Lets readers ask the author public questions (pub.leaflet.interactions.question) and shows the ones the author has answered (pub.leaflet.interactions.answer) or accepted (pub.leaflet.interactions.questionVisibility). Questions are resolved at render time rather than stored on the block.
Details · object
| Kind | object |
|---|---|
| Authority | blocks.leaflet.pub |
| Commit rev | 3n264eyeffg2m |
| Indexed |
Object
objectProperties
audience
stringWho may ask: anyone, only subscribers to the document's publication, only accounts the author follows, or only accounts following the author. Defaults to anyone. Checked when a question is asked.
knownValues: anyone | subscribers | follows | followers
buttonText
stringLabel for the button readers use to submit a question.
maxLength: 500maxGraphemes: 50
key
stringTells this block apart from the document's other blocks of its type; interaction records name it in their `block` field. Records without a matching key belong to the first block of the type.
maxLength: 100
showPending
booleanShow readers questions the author hasn't accepted, answered or hidden yet. Defaults to false.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pub.leaflet.blocks.reply
objectLets 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.
-
A public question asked of a document's author, shown on the document once the author answers (pub.leaflet.interactions.answer) or accepts it (pub.leaflet.interactions.questionVisibility)
-
Declares which questions asked on a document the author accepted or hid. Lives in the document's repo, with a record key matching the document's. An answered question shows unless hidden; any other question is pending.
-
The author's answer to a pub.leaflet.interactions.question, written in the repo that owns the question's subject document. One record per question.