Long Styles Menu does not scroll properly

  •  07-19-2013, 6:34 PM

    Long Styles Menu does not scroll properly

    We have 15 entries in our Styles menu (/richtexteditor/config/staticstyles.xml).  When the Styles menu is opened, there are too many entries to display at once, so the menu has a scrollbar.  However, when we scroll down, all we see is blank lines.  This happens on IE 10, Firefox 22, and Chrome 28.  We tried it out on our local RTE sample, VB.NET populate_menu.aspx.

     

    Reordering the menu items had no effect.

     

    <styles>
      <!--
      These attributes will execute the config.format_%attrname%

      value='any value' :
      subscript,superscript,bold,italic,underline,linethrough,overline,

      value='specified value' :
      forecolor,backcolor,fontsize,fontname,cssclass,cssstyle,
      -->
      <style name="@clearstyle" />

    <!--
      <style name="Comment" italic="1" cssstyle="color:darkgreen;" />
      <style name="Highlight" cssstyle="background-color:yellow;" />
      -->

      <style name="Emphasis"         cssstyle="font-size:12pt;font-weight:600;font-style:italic;color:#000000;font-family:Times,Serif;" />
      <style name="Emphasis"         cssstyle="font-size:12pt;font-weight:600;font-style:italic;color:#808080;font-family:Times,Serif;" />
      <style name="Emphasis Light"   cssstyle="font-size:12pt;font-weight:300;font-style:italic;color:#000000;font-family:Times,Serif;" />
      <style name="Emphasis Lighter" cssstyle="font-size:12pt;font-weight:300;font-style:italic;color:#808080;font-family:Times,Serif;" />
      <style name="Emphasis Heavy"   cssstyle="font-size:12pt;font-weight:400;font-style:italic;color:#4F81BD;font-family:Calibri,Candara,Segoe,Optima,Arial,sans-serif;font-variant:small-caps;" />
      <style name="Emphasis Heavier" cssstyle="font-size:12pt;font-weight:900;font-style:italic;color:#336E9B;font-family:Times,Serif;" />

      <style name="Quote"            cssstyle="font-size:12pt;font-weight:500;font-style:italic;color:#000000;font-family:Calibri,Candara,Segoe,Optima,Arial,sans-serif;" />
      <style name="Quote - Serif"    cssstyle="font-size:12pt;font-weight:500;font-style:italic;color:#000000;font-family:Times,Serif;" />

      <style name="Reference"                     underline="1" cssstyle="font-size:12pt;font-weight:300;color:#C0504D;font-family:Times,Serif;" />
      <style name="Reference Heavy"               underline="1" cssstyle="font-size:12pt;font-weight:700;color:#C0504D;font-family:Times,Serif;text-decoration:underline;" />
      <style name="Reference - Small Caps"        underline="1" cssstyle="font-size:12pt;font-weight:400;color:#C0504D;font-family:Times,Serif;text-decoration:underline;font-variant:small-caps;" />
      <style name="Reference Heavy - Small Caps"  underline="1" cssstyle="font-size:12pt;font-weight:900;color:#C0504D;font-family:Times,Serif;text-decoration:underline;font-variant:small-caps;" />

      <style name="Subtitle"           cssstyle="font-size:12pt;font-weight:600;font-style:italic;color:#4F81BD;font-family:Calibri,Candara,Segoe,Optima,Arial,sans-serif;" />
      <style name="Subtitle - Serif"   cssstyle="font-size:12pt;font-weight:600;font-style:italic;color:#4F81BD;font-family:Times,serif;" />
    
    </styles>
    
     

View Complete Thread