Styles are lost when pressing the Undo button

Last post 08-08-2007, 10:01 AM by mchern. 2 replies.
Sort Posts: Previous Next
  •  08-07-2007, 5:07 PM 32259

    Styles are lost when pressing the Undo button

    I am evaluating the Editor control, and have found few "features", which will frustrate my customers,
    and they ofcourse will drive me mad :) , if I decide to use the control.
     
    Here is my scenario:
    I put style in the html mode, like this

    <style>
    .myStyle
    {
    color:red;
    }
    </style>
    <div><input id="image1" type="image" value="image1" name="image1" />Some text </div>
    <div>&nbsp;</div>
    <div>Some Header</div>
    <div>&nbsp;</div>
    <div class="myStyle">Some other stuff</div>

     
    Then went to the design mode and apply a header (h4) to some text, then pressed the Undo button.
    The style I defined in html are whiped from html at this point, even the <style> tag is gone....
     
    Is this going to be addressed any time soon?
     
    Another inconvenieent feature is whenever I am clicking a button wich displays a modal dialog,
    the OK and Cancel buttons are hidden beyond the visible area, and these dialogs are not resizable,
    so there are no way to add an image to the page for instance.
     
    I am in IE 7.0 and screen resolution is 1920x1200.
     
     
    Please advise.
    Thanks,
    Max  C.
     
     
    Filed under: ,
  •  08-08-2007, 7:24 AM 32277 in reply to 32259

    Re: Styles are lost when pressing the Undo button

    >>Styles are lost when pressing the Undo button
     
    We are investigating this issue and will find a solution soon.
     
    >>these dialogs are not resizable, so there are no way to add an image to the page for instance.
     
    All modal dialogs are controlable.
     
    For example, if you want to change insertImage dialog.
     
    Please open \CuteSoft_Client\CuteEditor\Scripts\Constant.js
     
    and modify the following code:
     
    // Default editorconstant ornaments for the image dialog
    editorconstant._imageDialogFeature = "status:0;dialogWidth:620px;dialogHeight:595px; scroll: 0; resizable: 0; help:0";
     
    Hope it helps.
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  08-08-2007, 10:01 AM 32302 in reply to 32277

    Re: Styles are lost when pressing the Undo button

    Thank you Adam,
    The configuration did the trick!
View as RSS news feed in XML