Preview Control Dialog
CUE previews can be modified by means of a floating control dialog displayed over the preview (see Previewing Content). You can configure this dialog by adding the following settings to one of your CUE configuration files:
previewControlSetting: previewAll: false visible: false
previewAll
is set to true
by
default. If you set it to false
then the dialog's
Also preview unpublished content checkbox will be
unchecked by default and previews will not include unpublished related
content.
visible
is set to true
by
default. If you set it to false
then the preview
control dialog will not be displayed, meaning the end user cannot
control what is shown in previews.
Please note that if the preview controller is enabled then the preview is shown in an iframe. This may pose a problem for some websites due to how authorization is handled in iframes. If your website cannot be displayed in an iframe then the preview controller should be disabled.