Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 49.481.283 Times

WYSIWYG Filter 7.x-1.6-rc2

  Date Added: May 12, 2013  |  Visits: 587

WYSIWYG Filter

Report Broken Link
Printer Friendly Version


Product Homepage
Download (47 downloads)



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).Screenshot of the WYSIWYG Filter settings panel. Patches and/or ideas to improve the UI to whitelist HTML elements and attributes are welcome. Though, I tried to document the most common rules for the valid_elements option the best I could.If you are the developer of a WYSIWYG editor, please let me know if there is something this module could do with its own filter options to help enhance the configuration of the WYSIWYG editor itself without additional user intervention.How can you get involved? * Write a review for this module on drupalmodules.com * Help translate this module at localize.drupal.org

Requirements: No special requirements
Platforms: PHP
Keyword: Additional Attributes Based Defined Editor Elements Filter Input Links Match Module Panel Properties Rules Settings Style Whitelisted Wysiwyg
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


WYSIWYG FILTER RELATED
Programming  -  Bleach for Linux 1.0.4
Bleach is an HTML sanitizing library designed to strip disallowed tags and attributes based on a whitelist, and can additionally autolinkify URLs in text with an extra filter layer that Django's urlize filter doesn't have. Basic Use
10.24 KB  
Development Tools  -  GUI based Satellite Tracking System 1.0
Based on the Two line elements(TLE) - Input from the user, the program calculates the time and the date of the satellite pass. Prints out Azimuth and Elevation & plots it too.
153.6 KB  
Utilities  -  XPontus XML Editor 1.0.0 RC3
XPontus is a free java based XML editor designed towards text editing. XPontus XML Editor aims to provide a free alternative to commercial XML Editors. As XPontus is written in Java it is available for all java enabled operating systems. It has...
17.5 MB  
Text Management  -  Joe's Own Editor 3.5
JOE is a full featured terminal-based screen editor which is distributed under the GNU General Public License (GPL). JOE has been around since 1988 and comes standard with many Linux distributions.JOE is being maintained by its original author...
 
Libraries  -  HTTPD::Log::Filter 1.08
HTTPD::Log::Filter is a Perl module to filter entries out of an httpd log. SYNOPSIS my $hlf = HTTPD::Log::Filter->new( exclusions_file => $exclusions_file, agent_re => .*Mozilla.*, format => ELF, ); while( ) { my $ret =...
10.24 KB  
3D Graphic Tools  -  jPicEdt 1.4.1
jPicEdt is a multi-platform vector-based graphic editor for LaTeX and related packages, including eepic and PsTricks. The LaTeX picture environment is a special environment for inserting simple drawing commands into a LaTeX file. This...
5.3 MB  
Text Management  -  Dav Editor 0.8.5
DAV is a free GNU/Linux console-based text editor. Features: - Memory and cpu efficiency - Small filesize and footprint - Freely licensed under the GPL - Useful feature set - Intuitive and easy to use
 
Utilities  -  Tulip IDE 0.7
Tulip IDE project is a PHP-GTK based Code editor, a tool for coding PHP scripts, written using PHP as base language and Gtk as user interface. Tulip has features that make it a good choice to develop free software in a co-operative environment....
 
Utilities  -  Text Editor 1.0
A java based Text Editor to save and open, modify or view the text files. Also featuring Background and foreground colour as well as Text styles and Font size.
16 KB  
Multimedia & Graphics  -  Chasys Draw IES 3.68.03
Chasys Draw IES (formerly Chasys Draw Artist) is a suite of applications including a layer-based image editor with animation, vista-style icon support and super-resolution via image stacking (Chasys Draw IES Artist), a multi-threaded image file...
12.37 MB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB