Bachir Soussi Chiadmi 9adc940a67 updated webform, webform_localization, profile2, term_merge, search_api_saved_pages, rules, redirect, overide_node_options пре 5 година
..
CHANGELOG.txt f2b8ace9b7 FINAL suepr merge step : added all modules to this super repos пре 9 година
LICENSE.txt f2b8ace9b7 FINAL suepr merge step : added all modules to this super repos пре 9 година
README.txt 9adc940a67 updated webform, webform_localization, profile2, term_merge, search_api_saved_pages, rules, redirect, overide_node_options пре 5 година
wysiwyg_filter.admin.css f2b8ace9b7 FINAL suepr merge step : added all modules to this super repos пре 9 година
wysiwyg_filter.admin.inc 9adc940a67 updated webform, webform_localization, profile2, term_merge, search_api_saved_pages, rules, redirect, overide_node_options пре 5 година
wysiwyg_filter.inc 9adc940a67 updated webform, webform_localization, profile2, term_merge, search_api_saved_pages, rules, redirect, overide_node_options пре 5 година
wysiwyg_filter.info 9adc940a67 updated webform, webform_localization, profile2, term_merge, search_api_saved_pages, rules, redirect, overide_node_options пре 5 година
wysiwyg_filter.install f2b8ace9b7 FINAL suepr merge step : added all modules to this super repos пре 9 година
wysiwyg_filter.module 9adc940a67 updated webform, webform_localization, profile2, term_merge, search_api_saved_pages, rules, redirect, overide_node_options пре 5 година
wysiwyg_filter.pages.inc 9adc940a67 updated webform, webform_localization, profile2, term_merge, search_api_saved_pages, rules, redirect, overide_node_options пре 5 година

README.txt

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; WYSIWYG Filter module for Drupal
;;
;; Original author: markus_petrux at drupal.org (October 2008)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

OVERVIEW
========

The WYSIWYG Filter module provides an input filter that allows site
administrators configure which HTML elements, attributes and style properties
are allowed. It also may add rel="nofollow" to posted links based on filter
options. It can do so with no additional parsing on user input. That is, it may
apply nofollow rules while parsing HTML elements and attributes.

The filter is based on whitelists that can be defined from the filter settings
panel. Rules for HTML element and attributes are defined using the same syntax
of the TinyMCE valid_elements option.

The following elements cannot be whitelisted due to security reasons, to
prevent users from breaking site layout and/or to avoid posting invalid HTML.
Forbidden elements: applet, area, base, basefont, body, button, embed, form,
frame, frameset, head, html, iframe, input, isindex, label, link, map, meta,
noframes, noscript, object, optgroup, option, param, script, select, style,
textarea, title.

The section used to whitelist style properties is pretty simple. You just check
the properties you need from a list where almost all style properties are
organized into logical groups (Color and Background properties, Font, Text,
Box, Table, List, ...). The WYSIWYG Filter will strip out style properties not
explicitly enabled. On the other hand, for allowed style properties the WYSIWYG
Filter will check their values for strict CSS syntax (based on regular
expressions) and strip out those that do not match. Additional matching rules
are explicitly required for properties that may contain URLs in their values
("background", "background-image", "list-style" and "list-style-image"). If
rules don't match, these style properties will be ignored from user input.

When the "id" and "class" attributes have been whitelisted, it is also required
to specify explicit rules that will be used to validate user input, and again,
those that don't match will be stripped out.

As a measure to reduce the effectiveness of spam links, it is often recommended
to add rel="nofollow" to posted links leading to external sites. The WYSIWYG
Filter can easily do this for you while HTML is being processed with almost no
additional performance impact. There is a section in the filter settings panel
where a white/back list policy can be defined per domain name (the host part in
the URLs).


INSTALLATION
============

For module installation instructions please see:
http://drupal.org/documentation/install/modules-themes/modules-7


CONFIGURATION
=============

After installation you can configure the WYWIWYG filter:

1) On your site visit Admin > Configuration > Text formats (under 'Content
authoring'): admin/config/content/formats

2) Add a new text format, or configure the existing text format that you would
like to apply the WYSIWYG filter to.

3) Tick the 'WYSIWYG filter' option under 'Enabled filters'.

4) Configure the WYSIWYG filter options to suit your needs under the 'Filter
settings' heading and save when done.

Note: Be aware of the 'Filter processing order'. WYSIWYG Filter should normally
be arranged above the 'HTML Corrector' if it is being used.


SECURITY ISSUES
===============

- To report security issues, do not use the issue tracker of the module.
Instead, please contact the Drupal Security Team or the WYSIWYG Filter
module developer (preferred).

- To contact the WYSIWYG Filter module developer:
http://drupal.org/user/39593
http://drupal.org/user/39593/contact

- To contact the Drupal Security Team:
http://drupal.org/security-team

- For any other kind of issue (support or feature requests, bug reports,
translations, etc.), please, use the issue tracker of the module:
http://drupal.org/project/issues/wysiwyg_filter