HREFs remaining after text deleted
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
HREFs remaining after text deleted

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
David
Guest





Posted: Tue Sep 20, 2005 4:51 pm    Post subject: HREFs remaining after text deleted Reply with quote

Hi Stefan,

Thanks for showing me the fix to the last issue. When I asked the question,
I was described the issue and thought it related to another issue we have
had. We will still be implementing the fix as we do get that issue, but the
description has been highlighted even more. Let me explain. (I am working
from home, so the description is done over the phone, however, this time, I
have practiced it, so know exactly what the issue is...)

Edit a posting. Add a resource to the posting (in an htmlplaceholder) by
clicking the paperclip icon.

Save and Exit.

Edit.

Highlight the resource (wipe mouse over it). Delete it. Now, view the HTML
of the placeholder. You will highly likely find that the href reference is
still there. As I think about it, the fix you have given for my previous
issue may not work, as at that point in time, the posting editor/author
still has access to the resource.

If I was to put my cursor to the right of the resource and click backspace,
it deletes the resource href tags first then the resource text, however, if
I highlight the resource, it deletes the text first and will probably leave
the href tags.

Is this a "feature"? Is there a way to fix this?


Best regards,
Dave Colliver.
http://www.NorthamptonFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
Back to top
Stefan [MSFT]
Guest





Posted: Tue Sep 20, 2005 4:51 pm    Post subject: Re: HREFs remaining after text deleted Reply with quote

Hi David,

that is by design.
Delete will delete exactly what is selected.
And if you select only the image only the image will be deleted.
Using the cursor approach the cursor will be moved to the next visible
character and all non-visible tags are included in this selection.

You could implement a workflow event that looks for empty anchor tags and
strip them out to avoid this.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"David" <david.colliver.NEWS@revilloc.REMOVETHIS.com> wrote in message
news:OHHMOhevFHA.664@tk2msftngp13.phx.gbl...
Quote:
Hi Stefan,

Thanks for showing me the fix to the last issue. When I asked the
question, I was described the issue and thought it related to another
issue we have had. We will still be implementing the fix as we do get that
issue, but the description has been highlighted even more. Let me explain.
(I am working from home, so the description is done over the phone,
however, this time, I have practiced it, so know exactly what the issue
is...)

Edit a posting. Add a resource to the posting (in an htmlplaceholder) by
clicking the paperclip icon.

Save and Exit.

Edit.

Highlight the resource (wipe mouse over it). Delete it. Now, view the HTML
of the placeholder. You will highly likely find that the href reference is
still there. As I think about it, the fix you have given for my previous
issue may not work, as at that point in time, the posting editor/author
still has access to the resource.

If I was to put my cursor to the right of the resource and click
backspace, it deletes the resource href tags first then the resource text,
however, if I highlight the resource, it deletes the text first and will
probably leave the href tags.

Is this a "feature"? Is there a way to fix this?


Best regards,
Dave Colliver.
http://www.NorthamptonFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
Back to top
Ernest Griffin
Guest





Posted: Tue Nov 08, 2005 1:50 am    Post subject: Re: HREFs remaining after text deleted Reply with quote

Did this work? I keep getting a &nbsp; in the field after I assigned the
text as a hyperlink.

How would you create a work flow to manage that?

I use the "Shift Right Arrow" or "Shift Left Arrow" to highlight all text
but for some
reason the &nbsp; keeps showing up.
Back to top
Stefan [MSFT]
Guest





Posted: Tue Nov 08, 2005 9:51 am    Post subject: Re: HREFs remaining after text deleted Reply with quote

Hi Ernest,

that is a different issue.
The placeholder control will always keep such &nbsp; content if you manually
delete content.
To resolve this check this article:
http://blogs.technet.com/stefan_gossner/archive/2005/07/12/407637.aspx

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Ernest Griffin" <nospam@devdex.com> wrote in message
news:P%Pbf.3951$%k.1411@bignews6.bellsouth.net...
Quote:
Did this work? I keep getting a &nbsp; in the field after I assigned the
text as a hyperlink.

How would you create a work flow to manage that?

I use the "Shift Right Arrow" or "Shift Left Arrow" to highlight all text
but for some
reason the &nbsp; keeps showing up.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB