Hello,
is there a way to use the font tag inplace of the span tag as output for the ckeditor.
old:
with the font tag:
thanks
is there a way to use the font tag inplace of the span tag as output for the ckeditor.
old:
<p><span style="font-size: 48px;">test</span></p>
with the font tag:
<p><font size="48px">test</font ></p>
thanks
Re: Using Font tag inplace of span
Hi Robs,
You may have your reasons for wanting this, but I thought I'd point out that the HTML <font> tag is deprecated (meaning no longer really used in current incarnations of WW3 specifications.) Yes, the tag will still probably work, in most modern browsers rendering "transitional" HTML pages, (but it will not work on "strict" DOCTYPE HTML pages or on XHTML pages.) Also, the pages may not validate and at some point, browser support for rendering deprecated tags is likely to disappear.
All of the font attributes in CKEditor are now handled as CSS style attributes. So, if you want to change other font attributes, you would also need to change the way other font attributes are handled, substituting the old deprecated style for the modern CSS equivalent.
Testing 123, with a red foreground (font) color, and font size of 14px: