Last modified: 2014-07-29 02:25:28 UTC
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.