Check how slides will look
check_layoutWarnings about how the slides of a presentation look: a text that runs past its block or code that is cut off ("overflow"), a block partly or wholly outside the slide ("cut", "outside"), text blocks lying over each other ("overlap"), in every language of the site (a warning only a translation has carries its "lang"). Texts and code are measured in a browser on the server ("measured": true); when that is not available their sizes are estimated from the letter widths of the font. Only what shows counts: a text on a block without fill or border may run into the bottom padding. The changing operations add the (estimated) warnings of the slides they changed to their answer ("layout_warnings").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The presentation's slug (its address: /movie/<slug>/). | |
| slide_ids | No | Only these slides (ids). | |
| to_number | No | Only the slides up to this number (inclusive). | |
| from_number | No | Only the slides from this number on (1-based). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checked | Yes | Slides checked. | |
| measured | No | The texts were measured in a browser (false: estimated). | |
| warnings | Yes | How the changed slides will probably look: texts too long for their blocks, blocks outside the slide, texts over each other (estimated -- look at them). |