Re: Selecting default class for the editor

  •  03-03-2005, 5:02 PM

    Re: Selecting default class for the editor

    Hi Adam - thanks for your reply.

     

    The 'normal' class that I'd like the editor to use is actually already in one of the existing stylesheets, so I'm not sure how adding a new one will help.

     

    The 'normal' class is parsed correctly and shows up in the dropdown list - so thats not a problem.

     

    The issue is that if users don't explicity set a class using the drop-down list then the editor defaults its display to use the 'BODY' class defined in the stylesheets, whereas I'd like it to default to use the 'Normal' class, as this is what will be displayed in the final output when users don't explicity set any styles on text in the editor..

    As an example, typing this in now - where is it picking up this style from?  It looks as if it matched up with the 'Normal' paragraph style. Where would you over-ride this if you wanted it to match up with say the 'Notification' css class by default?
     
     
View Complete Thread