Skip to main content
Skip table of contents

Defining the visibility of elements

A JSON condition can be used to define (independently of the PFNonPrint layer) for individual elements (blocks) in which media (editor, preview PDF, print PDF) they should be available.

To do this, the following condition is set as an attribute on the block:

CODE
{
    "left": "${pf-meta-display}",
    "operator": "equal",
    "right": "editor"
}

With the not-equal” operator, the element is not displayed in the editor, but is displayed in the preview and print PDF.

The following image shows all options including the respective condition:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.