A block rendering unescaped HTML to be used on a content page powered by ftw.simplelayout
Project description
Introduction
This package is an addon for ftw.simplelayout. Please make sure you already installed ftw.simplelayout on your plone site before installing this addon.
HTML blocks allow you to add arbitrary, unfiltered HTML to a content page.
The HTML is not escaped when rendered on the content page so you need to be especially careful what you do. By default only users having the role “Manager” are allowed to add HTML blocks.
Installation
Add the package to your buildout configuration:
[instance] eggs += ... ftw.htmlblock
Usage
Drag a HTML block form the toolbox into your page and fill the textarea.
Development
Python:
Fork this repo
Clone your fork
Shell: ln -s development.cfg buildout.cfg
Shell: python boostrap.py
Shell: bin/buildout
Run bin/test to test your changes.
Or start an instance by running bin/instance fg.
Links
Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.htmlblock
Copyright
This package is copyright by 4teamwork.
ftw.htmlblock is licensed under GNU General Public License, version 2.
Changelog
1.1.3 (2020-10-02)
Remove obsolete behaviour in Plone 5 [Nachtalb]
1.1.2 (2020-01-09)
Add ftw.htmlblock portal_type translation to plone domain. [tinagerber]
1.1.1 (2019-12-14)
Plone 5: use registry instead of properties. [jone]
Provide precompiled bundle [Nachtalb]
1.1.0 (2019-09-04)
Define template in view, not in zcml. [jone]
Add macros and slots to block views for easy customization. [jone]
Make iframe fixes compatible with ftw.iframefix 2.0. [Kevin Bieri]
Install ftw.iframefix [Kevin Bieri]
Update to plone 5.1 [busykoala]
1.0.5 (2017-03-07)
Make HtmlBlock addable on plone site per default [raphael-s]
1.0.4 (2016-09-12)
Enlarge textarea for html-block content. [raphael-s]
1.0.3 (2016-08-18)
Introduce upgrade steps. [raphael-s]
1.0.2 (2016-08-09)
Remove metadata.xml-dependencie to ftw.simplelayout. This package is an addon of ftw.simplelayout and should not install it. [elioschmutz]
Add suport for iframe tags on MS Edge [raphael-s]
1.0.1 (2016-05-24)
Prevent iframe from stopping event bubbling in IE [Kevin Bieri]
1.0.0 (2016-05-20)
Initial implementation. [mbaechtold]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ftw.htmlblock-1.1.3.tar.gz
.
File metadata
- Download URL: ftw.htmlblock-1.1.3.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 709be3e600831bf92a2b486d7bdda9efa4e7a9bf651536ad1c87d16f9c094851 |
|
MD5 | 7f939a8946a0f660eeb7eed66cc34665 |
|
BLAKE2b-256 | 5f132db2fd2678281053537b71e4329fbd099007b1399d85290e0754e7bd4177 |