Page MenuHomePhabricator

Disable formatting tool when selecting non-text elements
Open, LowPublic1 Estimated Story Points

Description

At first I thought it was a bug that the 'Paragraph' label in the menu bar dissapears when clicking a non-text element, but then I assumed that this might be intentional since logically, images and templates are not text elements and therefore don't have a text format. However, it's still odd that I can 'apply' text formats to non-text elements, as shown in the attached video (these styles do go away when clicking off of the element, but it's confusing that I can select them at all). Can't this menu item be 'disabled' when clicking on non-text elements, instead of just hiding the label?

Event Timeline

Jdrewniak renamed this task from Odd text-style selection behaviour on non-text elements to Odd text-format selection behaviour on non-text elements.Mar 16 2017, 10:21 AM
Jdforrester-WMF renamed this task from Odd text-format selection behaviour on non-text elements to Disable formatting tool when selecting non-text elements.Mar 21 2017, 7:13 PM
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF set the point value for this task to 1.
Jdforrester-WMF moved this task from To Triage to TR3: Language support on the VisualEditor board.