https://bugzilla.wikimedia.org/show_bug.cgi?id=68590

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|VisualEditor: If you click  |VisualEditor: Typed text is
                   |out of a link inspector to  |ignored after moving cursor
                   |somewhere else in the       |from link inspector back to
                   |document, the link gets     |document
                   |inserted and selected,      |
                   |moving your cursor away     |
                   |from where you clicked      |

--- Comment #7 from Krinkle <[email protected]> ---
(In reply to Bartosz DziewoƄski from comment #6)
> To be clear, I suggest WONTFIX. The original major issue here (broken undo)
> has been split to bug 68677 and fixed a long time ago.

The original report mentioned two problems. The second is still happening.

(In reply to Alex Monk from comment #0)
> If I create a new link (not having selected any existing text), set some
> target, then instead of pressing 'done' I click into the surface where the
> link is to go, it creates the link. Since it's now highlighted, if I then
> press a random character it replaces the text.
> 
> But then if I press ctrl+z to undo changes, and then ctrl+z again, I get
> Uncaught Error: Invalid transaction, annotation to be cleared is not set

1. Cursor in empty paragraph.
2. Click "Link" tool
3. Enter page name or url and select it from suggestions.
4. Move cursor back into (empty) paragraph.
5. Type some text.

Issues:
* The first character of the entered text is completely ignored. The link
defaults to the page name as its label, but is not rendered in the surface
until the first character is entered (the moving of the cursor does nothing;
I'd say the move of the cursor is when the automatic insertion should happen;
the entering of text should either be treated as regular text input or as the
desired label, not as trigger to render the link).
* The second character becomes the new label of the link (since the first
character triggered its insertion and immediate selection).
* The third character should extend the label (per link trail), but instead
becomes regular text adjacent to the link.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to