dorsetdigital/silverstripe-element-markup

Allows the addition of arbitrary markup in an Elemental block

v1.0.2 2019-02-19 13:08 UTC

README

Allows the creation of an arbitrary markup block in SilverStripe Elemental

Build Status Scrutinizer Code Quality License Version

Requirements

  • Silverstripe 4.x
  • Silverstripe Elemental

Installation

  • Install the code with composer require dorsetdigital/silverstripe-element-markup
  • Run a dev/build?flush to update your project

Usage

Once installed, 'Markup' will be selectable an Elemental block.

The module is designed to allow you to add any arbitrary markup to a page, avoiding the normal tag restrictions imposed by the HTMLText Editor.

WARNING

This module does not perform any markup validation or testing. It will add the markup to the page as-entered.

If you enter broken markup, or markup which contains bad code, your page might break!

With great power comes great responsibility