Last modified: 2012-09-28 22:24:39 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 T35140, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33140 - VisualEditor: Clicking bold, italic, etc. should set state for newly entered text when no selection
VisualEditor: Clicking bold, italic, etc. should set state for newly entered ...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal enhancement
: VE-deploy-2012-10-01
Assigned To: Christian Williams
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-14 23:43 UTC by Nux
Modified: 2012-09-28 22:24 UTC (History)
8 users (show)

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


Attachments

Description Nux 2011-12-14 23:43:40 UTC
1. Clicking a button like bold/italic should set it's state to ON.
2. Clicking a button again should turn it's state to OFF.
3. I would expect basically the same behavior of buttons when using shortcuts (e.g. CTRL+B).

Currently clicking a button is different then using a shortcut - with shortcut you triggers ON state, clicking only works for the selected text. This is behavior I observed both in latest Opera and Chrome.
Comment 1 Brion Vibber 2011-12-15 01:10:15 UTC
Clarified summary.
Comment 2 Trevor Parscal 2011-12-15 19:01:27 UTC
This is supposed to be supported actually, there was a regression at some point.
Comment 3 Helder 2012-06-22 12:23:30 UTC
According to
https://www.mediawiki.org/w/index.php?title=Visual_editor/Feedback&oldid=553398#Issues_with_Bold_and_Italics
this seems to be still happening:
----
When trying to use bold and italics I run into some problems. You should be able to click bold, then type your content then unclick bold. That doesn't work, you need to highlight information and then click bold and somehow choose it from a little menu that appears under the highlighted text. The same thing happens with italics. Integration with ctrl codes would be useful. Ctrl+b for bold ctrl+i for italics.
----
Comment 4 James Forrester 2012-06-22 19:01:56 UTC
Confirmed still an issue with current version.
Comment 5 James Forrester 2012-06-22 22:05:32 UTC
Mass-moving items into VisualEditor product
Comment 6 James Forrester 2012-06-23 01:38:41 UTC
Mass-move out of "General" to "ContentEditable".
Comment 7 James Forrester 2012-07-02 19:38:54 UTC
Re-determining as an enhancement rather than a bug (for product flow purposes; we're still going to get to this).
Comment 8 Inez Korczyński 2012-07-17 18:49:07 UTC
It used to work well in previous release (December 2011), I'm going to handle it in exactly same way - which is creating insertionAnnotations stack.
@James: Can you re-assign to me?

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


Navigation
Links