Closed (duplicate)
Project:
WYSIWYG Filter (D7)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2011 at 12:13 UTC
Updated:
15 Jul 2015 at 20:55 UTC
Jump to comment: Most recent
Comments
Comment #1
rajmataj commentedAgreed. This is sorely needed in order to make this module a practical choice.
Comment #2
markus_petrux commented#835202: Checkbox to allow all class/ID names
Comment #3
texas-bronius commentedFor anyone looking for a way to whitelist all css class names in wyswig_filter, lacking regular expression, here's the closest I've come so far (providing not as a super solution but as a simple one you can copy/paste):
In the HTML Elements and Attributes, be sure to include:
@[class],and in the Rules for CSS Class Names have:
a*,b*,c*,d*,e*,f*,g*,h*,i*,j*,k*,l*,m*,n*,o*,p*,q*,r*,s*,t*,u*,v*,w*,x*,y*,z*Also note that unlike core html filter, the changes are not immediately available on refresh of the node. I don't know whether clearing cache will do it, but definitely editing and saving with no changes will.