Skip to main content

A block rendering unescaped HTML to be used on a content page powered by ftw.simplelayout

Project description

Introduction

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.

Compatibility

Plone 4.3.x

https://jenkins.4teamwork.ch/job/ftw.htmlblock-master-test-plone-4.3.x.cfg/badge/icon

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.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.1.tar.gz (14.6 kB view details)

Uploaded Source

File details

Details for the file ftw.htmlblock-1.0.1.tar.gz.

File metadata

  • Download URL: ftw.htmlblock-1.0.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ftw.htmlblock-1.0.1.tar.gz
Algorithm Hash digest
SHA256 37627c1b53513dc20849cf2fda0c72f8e78bde9ca2ea75c97e975a2ecb7e8a7e
MD5 13a8f350eeddc6c12ac36e698b8029ca
BLAKE2b-256 b2bdc823c39734a8fd28e2b8871d157ca8885cae457ba45a72ab5e7d5bb50e50

See more details on using hashes here.

Supported by

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