How to add more font sizes in dropdown?

Last post 07-12-2010, 11:55 AM by Eric. 3 replies.
Sort Posts: Previous Next
  •  07-12-2010, 8:40 AM 62428

    How to add more font sizes in dropdown?

    Hi Adam,
     
    Right now we have default font size in size dropdown i.e. 8pt, 10pt, 12pt....., now we want to add few more sizes like 8pt, 9pt, 10pt, 11pt, 12pt, 14pt.....
    So, how can we customize the size dropdown?
     
    Thanks,
    Sanjay
  •  07-12-2010, 8:57 AM 62429 in reply to 62428

    Re: How to add more font sizes in dropdown?

  •  07-12-2010, 9:40 AM 62430 in reply to 62429

    Re: How to add more font sizes in dropdown?

    Thanks Eric.
     
    I already checked out the document but it seems that example only customize the existing font sizes i.e 8, 10, 12......
    I have changed the common.xml as below but when I formatting any text with size 9 it actually formatting as 10pt in HTML.
    Please let me know if I am missing something here.
     
    <item text="1 (8pt)" value="1">
    <
    html><![CDATA[8pt]]></html>
    </
    item>
    <
    item text="2 (9pt)" value="2">
    <
    html><![CDATA[9pt]]></html>
    </
    item>
    <
    item text="3 (10pt)" value="3">
    <
    html><![CDATA[10pt]]></html>
    </
    item>
    <
    item text="4 (11pt)" value="4">
    <
    html><![CDATA[11pt]]></html>
    </
    item>
  •  07-12-2010, 11:55 AM 62433 in reply to 62430

    Re: How to add more font sizes in dropdown?

    Please change it to: 
      <item text="8pt" value="8pt">
        <html><![CDATA[<font style='font-size:8pt'>8pt </font>]]></html>
       </item>
       <item text="9pt" value="9pt">
        <html><![CDATA[<font style='font-size:9pt'>9pt </font>]]></html>
       </item>
       <item text="10pt" value="10pt">
        <html><![CDATA[<font style='font-size:10pt'>10pt </font>]]></html>
       </item>
       <item text="11pt" value="11pt">
        <html><![CDATA[<font style='font-size:11pt'>11pt </font>]]></html>
       </item>
    Regards,
    Eric
View as RSS news feed in XML