Annoying change in 5.0

Last post 01-28-2006, 4:10 AM by rcroeder. 3 replies.
Sort Posts: Previous Next
  •  01-24-2006, 1:49 PM 15058

    Annoying change in 5.0

     In the previous versions of CuteEdit, I placed the editor within a <TD> of a table, and set a class to that td for style. The CuteEditor inherited style within the editor text area for this style. It now appears that this has changed and it no longer inherits, or it could be that there is not a property I need to set to do this.  This really does create a headache for me.
     
    RC
     
    Update, there seems to be some piece of javascript that is overwriting the textarea realted to s_TextAreaStyle. Even forcing a class within the textarea does not show the correct font.
     
    On the drop down fonts, my version defaults to Roman Times, i do not see where this is defined. I would assume the default value would either be set by editorbodystyle or within the Common.config file. I think this may have been fixed but I do not have the "fixed" version. What ever is in the font dialog as a default is what is showing in the text area.
     
    RC
  •  01-26-2006, 11:53 AM 15161 in reply to 15058

    Re: Annoying change in 5.0

    I have updated the original text with new information.
     
    RC
  •  01-28-2006, 4:10 AM 15217 in reply to 15209

    Re: Code sample to dupe


    At this point I resolved the problem, it lies somewhere in between the original release and the one I downloaded a few day ago. I was able to restore the editor back to the original state where it was sort of working, and add the new files until i resolved the problem.
     
    If i have time i will try and recreate the problem on a new dummy site this weekend. I cannot afford to shut down my client again. There is also a problem with XML creation, you are not by default using 4.0 xml (Check include_cuteeditor.asp if you do not belive me) as Adam stated in a previous thread.
     
    I do modify the include_cuteeditor.asp, winie.js, winie.js.asp and gecko.js.asp. The nature of my application has the editor residing inside iframe, when the user resizes the editor your application does not have any event to indicate this. I added one just as i had to add a new property to the editor text area to allow a class to be applied, you allow a style, but not a class.

    You also seem un under utilize the XML configuration files, as I posted earler on a three line fix to add variable widths to the drop down menus.
     
    Modifing the three js files by the way is, well not fun
View as RSS news feed in XML