Docs

Button

Button widget logoUse the Button add-on to insert a call-to-action link or provide a way to download the file. Basically, this add-on allows you to apply different Bootstrap 4 styles. The widget supports all styles of Bootstrap buttons, as well as allows fine-tuning of classes, styles and attributes of the tag.

The Button add-on closely integrates with File Manager add-on, which allows invoking the uploading dialog directly from the button editor. This way you can upload a zip, a document or any other file and instantly get a link to it.

You can insert new buttons or transform existing links to buttons (and back).

Edit Button widget screenshot

Configuration

widgets: {
    Button: {
        template: {
            classes: ['btn', 'btn-primary'],
            styles: {},
            attributes: {
                'href': '/'
            }
        }
    }
},