PasteHTML inside href tag appears outside

Last post 09-01-2009, 6:07 AM by AndyFel. 3 replies.
Sort Posts: Previous Next
  •  08-19-2009, 5:44 AM 54798

    PasteHTML inside href tag appears outside

    Hi
     
    When i do a pastehtml and an image is selected inside a href tag the old image is removed but the new image appears before the href tag instead of inside it.
     
    You can replicate this on
     
    Goto html view and wrap the first image with a href tag.
    Then goto normal view and select the image, then click the insert html button.
     
    <a href="#"><img alt="" src="http://cutesoft.net/Uploads/j0262681.jpg" width="80" /></a>
     
    is replaced with
     
    This is a test<a href="#"></a>
     
    Can this be fixed so that it replaces the object inside the href tag?
     
    thanks
  •  08-19-2009, 7:22 AM 54800 in reply to 54798

    Re: PasteHTML inside href tag appears outside

    In normal view, you can put the mouse at the front of the image and let the mouse  become   , click the insert html button, it will not delete the content of img tag.
     
    You can also switch to HTML view and put mouse to the place that you want to insert content, click the insert html button, you will get the result that you need.
     
     
     
     
  •  08-19-2009, 7:57 AM 54802 in reply to 54800

    Re: PasteHTML inside href tag appears outside

    Aye, that works fine.
     
    But.... i guess i should have said is that i want to replace the selected image with the pasteHTML function.
     
    The image disappears as it should but the text is pasted in the wrong place.
  •  09-01-2009, 6:07 AM 55233 in reply to 54802

    Re: PasteHTML inside href tag appears outside

    Hi
     
    Is there any answer to this???
View as RSS news feed in XML