Download the PHP package webbuilders-group/silverstripe-elemental-add-preview without Composer
On this page you can find all versions of the php package webbuilders-group/silverstripe-elemental-add-preview. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webbuilders-group/silverstripe-elemental-add-preview
More information about webbuilders-group/silverstripe-elemental-add-preview
Files in webbuilders-group/silverstripe-elemental-add-preview
Package silverstripe-elemental-add-preview
Short Description Extension for dnadesign/silverstripe-elemental that adds a preview popup when adding blocks
License BSD-3-Clause
Informations about the package silverstripe-elemental-add-preview
Elemental Add New Preview
Extension for dnadesign/silverstripe-elemental that adds a preview popup when adding blocks
Maintainer Contact
- Ed Chipman (UndefinedOffset)
Requirements
Installation
Configuration
This module will pull the title and icon of the block using the existing values displayed in the "Add new block" menu. It will also use the class description from the block's configuration to provide a description. It also adds support for a preview_image configuration option on the block. This will then appear at the top of the preview toast when the user hovers over the block in the "Add new block" menu. This should be the path to an image that is a multiple of 242px wide, the path to the image can also use a module syntax for example webbuilders-group/silverstripe-elemental-add-preview: path/to/image.jpg.