Last modified: 2014-03-20 23:09:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53756, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51756 - VisualEditor: Make it clearer that the clear formatting button does something (clears pre-annotations) if any are set
VisualEditor: Make it clearer that the clear formatting button does something...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-20 18:06 UTC by Chris McKenna
Modified: 2014-03-20 23:09 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McKenna 2013-07-20 18:06:33 UTC
In the visual editor, the button to remove formatting activates if the cursor is placed on a formatted (bold or italic) character. However clicking the button has no effect unless text is selected.

Either the button should be disabled when no text is selected, or clicking it when no text is selected should have an effect (probably remove formatting from the current word).
Comment 1 Krinkle 2013-12-12 03:59:14 UTC
Although the interface doesn't clearly indicate this, when the cursor is inside bold text, the toolbar shows "Bold" active. When you then click "Clear formatting", nothing inside the document will change (since no text is selected) however it does affect text entered from this point on.

Basically when your cursor is inside or against bold text, you'd expect text entered after it will also be bold. Clearing formatting at that point means it will unbold your cursor (if you know what I mean).
Comment 2 James Forrester 2014-03-20 23:09:28 UTC
This was fixed by only showing it as enabled when there's a pre-annnotation stack.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links