Administrators and everyone with the privilegde CodeQ.HtmlWidget:WidgetDefinition
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.
- Automatically blocks JavaScript code in the backend
- Restricts editing of HTML widget definitions, while allowing editors to use those widgets
](https://www.youtube.com/watch?v=pOhYHlYH_6Q)
The development and the public-releases of this package is generously sponsored Code Q Web Factory.
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.
Licensed under MIT, see LICENSE
We will gladly accept contributions. Please send us pull requests.