Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

bug # 3 - a hat trick! :)

ok.. I have a bit of code that handles "related articles" using the extra2 field. Basically I drop links I want to appear in the related articles into the extra2 box...

the code that handles it is:
{$ if nonblank .extra2 $}
<b>Further Reading...</b><br>
{$ endif $}

now I noticed that if I select everything using the cursor and delete it... the box is still non-blank!

but if I put the cursor in the box, do a cntrl-A and then delete - the box is really blank...

possibly an artifact of the MSDHTML that I think they are using, but a pain for usability..

bret watson
Thursday, January 1, 2004

you will be working with joel soon... <g>

Friday, January 2, 2004

Ctrl+A then Delete - thank you thank you thank you thank you :) - been struggling with that - couldn't get rid of unwanted formatting when I had pasted "with formatting" and was on the point of opening up the DB in Access to clear it that way.

Actually, should the default paste be "paste without formatting" - not the other way around, it's certainly what I'd prefer?

Bonus - I'll now be able to remove the unwanted formatting in in articles keywords that were pasted in from the unwanted formatting in teaser!!

Mike Osborne
Saturday, January 3, 2004

*  Recent Topics

*  Fog Creek Home