codeq/htmlwidget

HTML Widget for the Neos CMS

v1.2.0 2018-12-19 13:03 UTC

README

Latest Stable Version License

HTML Widget for Neos CMS

This package allows Administrators to create resuable html widgets, which then can be included by all editors on the website.

Administrators and everyone with the privilegde CodeQ.HtmlWidget:CreateWidgetDefinition and CodeQ.HtmlWidget:EditWidgetDefinition can create HTML Widget Definitions including HTML, CSS and JavaScript. We recommend to create a separate, hidden Widget Definiton page for that.

All editors can add those HTML Widgets as content, similar to normal node types, without being able to change the content.

Features

  • Automatically blocks JavaScript code in the backend
  • Restricts editing of HTML widget definitions, while allowing editors to use those widgets

HTML Widget Demo

The development and the public-releases of this package is generously sponsored Code Q Web Factory.

Installation

CodeQ.HtmlWidget is available via packagist. "codeq/htmlwidget" : "~1.0" to the require section of the composer.json or run:

composer require codeq/htmlwidget

We use semantic-versioning so every breaking change will increase the major-version number.

License

Licensed under MIT, see LICENSE

Contribution

We will gladly accept contributions. Please send us pull requests.