Difficult to edit text in floated div

Last post 03-31-2008, 2:03 PM by cmckeachie. 2 replies.
Sort Posts: Previous Next
  •  03-31-2008, 11:41 AM 38482

    Difficult to edit text in floated div

    So if I put the following div floated right as a code snippet for my end users and the first time I click the text to edit it CuteEditor assumes I want to resize the div and won't let me at the text can I disable this behavior.  I just want my end users to be able to get to the text easily.  If the same text is quickly double-clicked a popup appears for the div and I can't seem to do anything in it.  I'm open to new approaches to this problem but basically I want to allow users to throw in code snippets and then easily edit the text but our designers would understandably like to use css to layout the divs in the snippet (for example, float text right or left). You can see my current solution is to change the text from "Insert text here" to what you see below. Can I turn off resizing or moving of div is one possible solution.
     
     

    Click here pause and then click again to insert text here

  •  03-31-2008, 12:02 PM 38484 in reply to 38482

    Re: Difficult to edit text in floated div

    cmckeachie,
     
    Please try the following example:
     
    http://cutesoft.net/example/general.aspx
     
    >>Can I turn off resizing or moving of div is one possible solution.
     
    Please check this example:
     
     

    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

  •  03-31-2008, 2:03 PM 38485 in reply to 38484

    Re: Difficult to edit text in floated div

    we use this following code...
     
    <div style="float: right"><p>Click here pause and then click again to insert text here</p></div>
     
    and the float seems to create a delay when we want to get within that space (for instance, highlight the text) -- try it yourself by going to the bottom and switching from normal to HTML, paste that in and try to edit the text.  The work around we've found is if you click the box and wait ...then click again and wait, it seems to get to where you'd expect.  It's really strange, and we've yet to come up with a clear reason (or fix) for this.
     
    Does that make sense?
     
     
View as RSS news feed in XML