Back to index

plone3  3.1.7
Static Public Attributes
plone.app.controlpanel.filter.IFilterSchema Class Reference
Inheritance diagram for plone.app.controlpanel.filter.IFilterSchema:
Inheritance graph
[legend]
Collaboration diagram for plone.app.controlpanel.filter.IFilterSchema:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

tuple nasty_tags
tuple stripped_tags
tuple custom_tags
tuple stripped_attributes
tuple stripped_combinations
tuple style_whitelist
tuple class_blacklist

Detailed Description

Combined schema for the adapter lookup.

Definition at line 102 of file filter.py.


Member Data Documentation

Initial value:
schema.List(
        title=_(u'Filtered classes'),
        description=_(u'These class names are not allowed in class '
                      'attributes.'),
        default=[],
        value_type=schema.TextLine(),
        required=False)

Definition at line 92 of file filter.py.

Initial value:
schema.List(
        title=_(u'Custom tags'),
        description=_(u"Add tag names here for tags which are not part of "
                      "XHTML but which should be permitted."),
        default=[],
        value_type=schema.TextLine(),
        required=False)

Definition at line 56 of file filter.py.

Initial value:
schema.List(
        title=_(u'Nasty tags'),
        description=_(u"These tags, and their content are completely blocked "
                      "when a page is saved or rendered."),
        default=[u'applet', u'embed', u'object', u'script'],
        value_type=schema.TextLine(),
        required=False)

Definition at line 40 of file filter.py.

Initial value:
schema.List(
        title=_(u'Stripped attributes'),
        description=_(u"These attributes are stripped from any tag when "
                      "saving."),
        default=(u'dir lang valign halign border frame rules cellspacing '
                 'cellpadding bgcolor').split(),
        value_type=schema.TextLine(),
        required=False)

Definition at line 66 of file filter.py.

Initial value:
schema.List(
        title=_(u'Stripped combinations'),
        description=_(u"These attributes are stripped from any tag when "
                      "saving."),
        default=[],
        #default=u'dir lang valign halign border frame rules cellspacing cellpadding bgcolor'.split()
        value_type=schema.Object(ITagAttrPair, title=u"combination"),
        required=False)

Definition at line 75 of file filter.py.

Initial value:
schema.List(
        title=_(u'Stripped tags'),
        description=_(u"These tags are stripped when saving or rendering, "
                      "but any content is preserved."),
        default=[u'font', ],
        value_type=schema.TextLine(),
        required=False)

Definition at line 48 of file filter.py.

Initial value:
schema.List(
        title=_(u'Permitted styles'),
        description=_(u'These CSS styles are allowed in style attributes.'),
        default=u'text-align list-style-type float'.split(),
        value_type=schema.TextLine(),
        required=False)

Definition at line 85 of file filter.py.


The documentation for this class was generated from the following file: