Page MenuHomePhabricator

VisualEditor: Don't pre-annotate text for superscript and subscript
Closed, DeclinedPublic

Description

All in superscript/subscript format

Steps to reproduce:
-Type a text x
-Select it and make to to superscript
-Now type 1 before x (1x) and both the letters are in superscript format
-Now type "/" between these two letters (1/x) and all three letters are in superscript format
-Now keep on typing anything before or after (1/x) all the letters are in superscript format.
-Press "Enter" to go to new line

Observed Result:
Now the letter x and all other letters after that are in superscript format

Expected Result:
Unless selected as superscript/subscript all the texts typed before or after it should be in normal text format.

See the screenshot attached


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2013-11-04_at_11.26.06_AM.png (349×833 px, 86 KB)

Details

Reference
bz56576

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:37 AM
bzimport set Reference to bz56576.

The pre-annotation described here is intentional behaviour, and used for all text styles (with some special logic for links); we could not do it for some, but I think that that would be too confusing.