Difference in Post Behavior between IE 6 and Firefox 1.5

Last post 05-04-2006, 1:48 AM by ReqMan. 8 replies.
Sort Posts: Previous Next
  •  03-05-2006, 12:34 PM 16719

    Difference in Post Behavior between IE 6 and Firefox 1.5

    I'm using Version 5.1
     
    I want to prevent HTML being pasted into the editor so I have set
     
    editor.EditorOnPaste = "PasteText"
     
    In IE the paste works as I would desire it... HTML is pasted into the window as plain text.
     
    In Moxilla I get a popup window which is (a) confusing and (b) means that the text is posted into the top of the window regardless of where the insertion point is.  Is there a way to eliminate the popup window and have the same behavour as IE?
     
    BTW the behavior is the same in 5.0.
     
    Thanks
     
    Andrew
     
  •  03-05-2006, 12:45 PM 16720 in reply to 16719

    Re: Difference in Post Behavior between IE 6 and Firefox 1.5

    Note: I get the same behaviour if I set
     
    editor.AllowPasteHTML = false
     
     
  •  03-09-2006, 3:59 PM 16906 in reply to 16720

    Re: Difference in Post Behavior between IE 6 and Firefox 1.5

    the editor.AllowPasteHTML  requires a string. I am not sure that
     
    editor.AllowPasteHTML = false will pass anything into it
     
    try
    editor.AllowPasteHTML = "false"
     
    rc
  •  03-13-2006, 7:42 AM 17096 in reply to 16906

    Re: Difference in Post Behavior between IE 6 and Firefox 1.5

    Thanks for your input (much appreciated since this issue appears to being ignored by the site support) however 2 points:
     
    1) The class library reference guide shows editor.AllowPasteHTML = false as the correct format
     
    2) Changing it to editor.AllowPasteHTML = "false" doesn't change anything I still get different behavior between IE and Mozilla.
     
    Thanks
     
    Andrew
     
     
  •  03-13-2006, 1:15 PM 17114 in reply to 17096

    Re: Difference in Post Behavior between IE 6 and Firefox 1.5

    Andrew,

     

    I rarely use the guide since it is usually not keep up to the latest version. From the looking at the actual code in include_CuteEditor.asp the variable is loaded with a string.

     

    Private Sub Class_Initialize()

    s_activetab = "Edit"

    s_AllowEditServerSideCode = "false"

    s_allowpastehtml = "true"
     
    Public Property Let AllowPasteHtml(yesornot)
    s_allowpastehtml = CStr(yesornot)
     
    What is being retrieved is a lower case true and false, how this is used later on in the program is an issue for CuteSoft to comment on.
     
    Oh by the way Adam or Karen, when you paste into the editor from Word and the dialog box appears asking your to clean the pasted data, it should be Yes or No, not Yes or Cancel
     
    RC
  •  03-13-2006, 1:38 PM 17122 in reply to 17114

    Re: Difference in Post Behavior between IE 6 and Firefox 1.5

    Thanks for that... but regardless I still get the popup box in mozilla and not with IE.  I would ideally like never to see the popup box.
     
    Andrew
     
  •  03-13-2006, 1:53 PM 17125 in reply to 17122

    Re: Difference in Post Behavior between IE 6 and Firefox 1.5

    try
     
    editor.EditorOnPaste = "PasteText"
     
    RC
  •  03-13-2006, 10:19 PM 17135 in reply to 17125

    Re: Difference in Post Behavior between IE 6 and Firefox 1.5

    RC
     
     
    Read my first post in the thread... that is what I started with.
     
    Works the same way.
     
    Andrew
     
     
     
  •  05-04-2006, 1:48 AM 18798 in reply to 17135

    Re: Difference in Post Behavior between IE 6 and Firefox 1.5

    I have this same issue. Firefox & IE work differently.

    However, neither work properly for me. < P > tags, and hyperlinks still exist in the code. I thought it was supposed to strip out ALL html, not just some of it.


View as RSS news feed in XML