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

            Bug ID: 68494
           Summary: VisualEditor: When cursor is on a template, "Insert >
                    Template" does not insert a new template
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Use case:

1. On a page with a heading and some text. Put cursor at start of the paragraph
after the heading.
2. Insert a template (ends up selecting it after finishing insertion)
3. "Insert" another template.

Expected:

A new dialog pops up with ability to select a template to insert etc.

Actual:

A dialog to edit the existing template appears.



After being genuinely confused for a minute I realised that the confusion came
from the menu label being "Insert". A while back, the Template button was
separate on the toolbar (or under "More" or "Tools" whatever it was). Back
then, like still the case with links, it was more natural to assume it will
edit and not create a template when a template is selected already because the
button would be rendered "pressed down" (again, like we do for links). However
the menu has been relabelled to "Insert" and the Template button/menu-item no
longer appears pressed down when a Template is selected.

Perhaps we should make it render pressed down again. Or make it actually insert
a new one at the current cursor position (which means the template in case of a
highlighted node) thus restricting users to only edit nodes for something in
the "Insert" menu via the context menu.

-- 
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