How can I dynamically set the EditorBodyStyle from JavaScript?

  •  07-26-2013, 5:42 PM

    How can I dynamically set the EditorBodyStyle from JavaScript?

    We are using a variation of the One Editor, Multiple Edit Areas scenario, except that each edit area has its own editor body style.  

     

    For example, let's assume there are two edit areas, with the specified body styles:

    1. DarkBlue background, LightBlue foreground
    2. DarkGreen  background, Yellow foreground

    When a user edits area 1, we want the EditorBodyStyle to be DarkBlue bg, Lightblue fg.

    When the user edit area 2, we want the EditoryBodyStyle to be DarkGreen bg, Yellow fg.

     

    We do not want the user to be able to modify the body style.

     

    Also, these body styles must also be applied to the Preview tab.

     

     

    How do we accomplish this?


    Gerard

View Complete Thread