Skip to main content

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:

  1. Fork this repo

  2. Clone your fork

  3. Shell: ln -s development.cfg buildout.cfg

  4. Shell: python boostrap.py

  5. Shell: bin/buildout

Run bin/test to test your changes.

Or start an instance by running bin/instance fg.

Changelog

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ftw.htmlblock-1.0.5.tar.gz (15.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page