Problem with form controls in editor

Last post 08-16-2007, 12:37 AM by solventus. 4 replies.
Sort Posts: Previous Next
  •  07-31-2007, 7:51 PM 32062

    Problem with form controls in editor

    In my application, I need to include form controls within CuteEditor. Unfortunately, they don't behave properly. For instance, if a dropdown list in in the editor and it's dropped down, it will immediately close back up. This HTML will reproduce this behavior in any of the demos:
     
    <span contenteditable="false">
    <select id="dropDown1" name="dropDown1">
    <option value=""  selected>a</option>
    <option value="">b</option>
    </select>
    </span>

     
    It looks like dropping down the list invokes a JavaScript event that results in some kind of a refresh (there's some activity going on in the toolbar while this is happening). Does anyone have any ideas on how I can get around this?
     
    Thanks,
     
    Ken Miller
    Solventus LLC
  •  07-31-2007, 11:44 PM 32066 in reply to 32062

    Re: Problem with form controls in editor

    Ken,
     
    Can you explain how to reproduce the problem in the following example?
     
     
    It works ok for me.
     
     

    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-01-2007, 12:35 AM 32067 in reply to 32066

    Re: Problem with form controls in editor

    Adam,
     
    If you add the HTML snippet from my original post to this example (under Windows XP or Vista and IE7), you should see the issue. Just to be clear, I'm referring to behavior of the dropdown list in the Normal pane, not the Preview pane. Also, if you click it twice in rapid succession, the list will stay down. But this really isn't a workaround because it's unintuitive for the end-user.
     
    It does work under Safari for Windows. In Safari, I don't see the toolbar refresh when I drop down the list, which makes me think that whatever JavaScript event is being invoked when the list is dropped down, it's not handled in Safari. It doesn't work at all under FireFox, but I know this is due to the way FireFox handles the contenteditable attribute, and I see the same thing with FireFox in other .NET rich text editors. Under IE, this works with all other rich text editors I've tried.
     
    Thanks for your help!
  •  08-06-2007, 3:35 PM 32196 in reply to 32067

    Re: Problem with form controls in editor

    Adam,
     
    Any update on this yet? Have you been able to duplicate the problem?
  •  08-16-2007, 12:37 AM 32524 in reply to 32196

    Re: Problem with form controls in editor

    Adam,
     
    I'm still waiting for an answer  on this issue.
View as RSS news feed in XML