Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Page Publisher:
font problem... size=2 is disappearing

 

 


circlesquare
Novice

Mar 7, 2005, 12:01 AM

Post #1 of 3 (1964 views)
Shortcut
font problem... size=2 is disappearing Can't Post

Hello.

Everything else seems to be working fine, and the font type changes when I want it to. However, when I change font size I have problems... For some reason, size=1, size=3, size=4, etc etc is appearing in the code correctly.. however, when I try to change it to size=2, no size instruction is appearing in the html code, and so the font defaults to my browser's set size.....

Any ideas what is happening to size=2 ?

Thanks!


bpasternak
User

Mar 7, 2005, 11:36 AM

Post #2 of 3 (1957 views)
Shortcut
Re: [circlesquare] font problem... size=2 is disappearing [In reply to] Can't Post

The font definitions are located in the 'editor.js' file under '/images/htmlarea' subdirectory.
Did your install ever function properly with the font sizing?

You may want to verify that the fonts are defined in the 'editor.js' file. Just be sure to make a backup of the file before you go editing it. You should see:


this.fontsizes = {
"1 (8 pt)": "1",
"2 (10 pt)": "2",
"3 (12 pt)": "3",
"4 (14 pt)": "4",
"5 (18 pt)": "5",
"6 (24 pt)": "6",
"7 (36 pt)": "7"


This is what I would check for. If this area looks correct then I'm sure the iTools folks will point you in the right direction.

Best,
Brian


(This post was edited by bpasternak on Mar 7, 2005, 11:38 AM)


Luke
Staff / Moderator


Mar 7, 2005, 3:48 PM

Post #3 of 3 (1949 views)
Shortcut
Re: [circlesquare] font problem... size=2 is disappearing [In reply to] Can't Post

Hi Ciclesquare,

Thanks for posting! :)

The WYSIWYG editor makes use technology developed by Microsoft and because of this, the HTML output by the WYSIWYG editor is generated using this technology. While the WYSIWYG editor will output font tags for most sizes (1, 3, 4, 5, etc), unfortunately it doesn't output a <font size="2"> tag if you only have content with a font size of 2 in the editor.

For example, if you give all of your content a font size of 2, a <font size="2"> tag will not be output. On the other hand, if you give all of your content a font size of 3, and then give one word in the middle of your content a size of 2, it will output a <font size="2"> tag.

One workaround for this would be to place a <font size="2"> tag around your opening and closing <!-- publish --> tags.

e.g.

<font size="2">
<!-- publish -->Content goes here<!-- /publish -->
</font>

With this method, when you set a font size of all of your content will adopt the font tag defined outside of the publish tags.

Let me know if this helps, or if you have any other questions! :)

Luke Holzken
Product Development

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4