ContentBlocks ContentBlocks 2.x Plugins Fullscreen
The Fullscreen plugin adds a fullscreen toolbar button to blocks, layouts, or the entire canvas. Editors can expand the selected element to fill the browser window for a distraction-free editing view.
The Fullscreen plugin can be applied on blocks, layouts, or the entire canvas.
Table of Contents
Accepted options
When configured on the canvas, the plugin accepts:
blocks: set tofalseto disable the fullscreen button on block toolbars. Defaults totrue.layouts: set tofalseto disable the fullscreen button on layout toolbars. Defaults totrue.
Block and layout plugins do not accept options.
Example block
{
"title": "Textarea",
"inputs": {
"text": {
"type": "textarea",
"properties": {}
}
},
"plugins": {
"Fullscreen": {}
}
}
Example canvas
{
"plugins": {
"Fullscreen": {
"blocks": true,
"layouts": true
}
}
}