Highlight a block of text, and make it bold or italics and the block is bookended by the appropriate tags.

Highlight a block of text, and make it a link, and the link is created as:

<a href="http://thedomain.com">LINK TEXT</a>formerly highlighted text

resulting in this appearance:

LINK TEXTformerly highlighted text

This has been confusing many users on a couple of our sites, where we're getting many posts and comments with LINK TEXT embedded.

Drupal 4.6
Quicktags tarball from yesterday

Comments

thinkinkless’s picture

+1 on this issue - just tested today.

I looked at the code and don't know how to implement a workaround. Ideally there would be 2 fields but you can't do that with the current method (prompt).
Either way, this is a great alternative to 'tiny'! Our safari users thank you.

Bèr Kessels’s picture

Both are known issues and made, kindof, intentionally.

Since it is hard to make the text wrap around the selected text *on all browsers* I chose to let it work the way it does now: by not wrapping anywhere.

If you present a working patch, i will include it directly, if possible to 4.6 and 4.7.

Bèr

Bèr Kessels’s picture

Status: Active » Fixed

Fixed in HFiwEAD / 4.7.

Anonymous’s picture

Status: Fixed » Closed (fixed)