Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using TinyMCE and WYSIWYG Filter. In order to change font sizes, TinyMCE uses the following code:
<span style="font-size: medium;">
I am unable to allow this code to be displayed. Here is my configuration:
Filter processing order:
- Scripture filter
- Image resize filter
- WYSIWYG Filter
- Convert URLs into links
- Convert line breaks into HTML (i.e.
<br>
and<p>
) - Correct faulty and chopped off HTML
WYSIWYG Filter -> HTML elements and attributes
@[class|style|title],
a[href|target|title|class|id|name],
img[src|width|height|alt|title],
em, strong, strike, del, sub, sup, i, b, q, acronym, samp, kbd,
ul, ol, li, dl, dt, dd,
p[align<center?justify?left?right], br, hr,
div[class|id|align<center?justify?left?right], span[style|class],
table[width|cellpadding|cellspacing|border], tr[align|valign], td[align|valign|width], tbody, th[align|valign|width], thead, tfoot, colgroup, col, caption,
address, blockquote, pre, cite, code,
h1, h2, h3, h4, h5, h6
Please help? Thanks!
Comments
Comment #1
sheise CreditAttribution: sheise commentedI know the original post is a year old but I'll post the solution since this stumped me for a bit as well.
Under Additional Notes is says
So make sure you check off the 'font-size' box under Font Properties. Or check any other styles you need.
Comment #2
JKingsnorth CreditAttribution: JKingsnorth commentedMarking this as fixed =]