css classes from config on dropdown but no effect in edit window.

  •  04-06-2008, 4:12 PM

    css classes from config on dropdown but no effect in edit window.

    I have modified the "cssclass" section in common.config to reflect a number of classes I have defined in my own .css file.
     
    The class names are showing up in the css class dropdown and show the appropriate fonts/color/size etc attributes combinations defined by the classes. All looks good so far. At least the classes are recognized in the dropdown.
     
    I select some text in the edit window and apply one of my classes from the dropdown. They have no effect. I view the html code and it shows the html I desired around my selected text. e.g.:   <span class="myclass">Selected Text</span>
      
    How do I assure that my styles included in my webpage's .css file are recognized inside the edit window as they are in the dropdown?
     
    Later in the day... FOUND THE ANSWER:  editor.EditorWysiwygModeCss = "somewhere/MyStyles.css"
     
    Sorry I punted too soon. Had assumed that since the dropdown recognized the styles so would the editor.
     
     
     
View Complete Thread