Last modified: 2014-07-03 03:04:04 UTC
Created attachment 15828 [details] Screen recording of bug 1. Edit page with a link is applied to multiple words in sequence. such as "QUnit - Foo bar baz". 2. Select part of it (e.g. "Foo bar baz") 3. Type something new (e.g. "Quux") Expected: Quux replaces "Foo bar baz" and is a link as well. Actual: The text is removed, the link now ends at "-" and the inserted text "Quux" is just plain unlinked text. This might have to do with linktrail processing and the operation happening as separate delete/insert. Video: http://cl.ly/2K1q1A471G2N
You've failed to spot the key part of this – you have to select *to or past the end of the link*. Selections from inside a whitespace-terminated annotation to outside it which replace into it with a whitespace character will terminate it. Selections from inside said annotation to another place inside it (in your example, "Foo bar ba" but not "Foo bar baz") don't. This is intentional behaviour.
(In reply to James Forrester from comment #1) > This is intentional behaviour. Doesn't it strike you as something a user may very legitimately and intuitively want to accomplish?
(In reply to This, that and the other from comment #2) > (In reply to James Forrester from comment #1) > > This is intentional behaviour. > > Doesn't it strike you as something a user may very legitimately and > intuitively want to accomplish? Yes. We spent months discussing this, looking at dozens of different rich editors' behaviours. That's why I'm reasonably confident that the answer is "tough".