https://bugzilla.wikimedia.org/show_bug.cgi?id=33108
Web browser: ---
Bug #: 33108
Summary: Highlighted trailing whitespace should not have styles
applied
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: VisualEditor
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
This is a classic problem in at least 10 other "web page editors" for other
products, plus VisualEditor.
Consider the sentence: Hello world.
1. Highlight the word "Hello " including the space character after it.
2. Click the "Bold" button.
3. It renders:
<b>Hello </b>World
when what the user REALLY wanted was:
<b>Hello</b> World
Even if the user highlighted the whitespace, 99.9% of the time he/she doesn't
really want it bolded. VisualEditor should bold only "Hello" and not the space
after it.
The original MediaWiki edit page is the only editor I've ever seen that gets it
right. If you highlight "Hello " with a trailing space and click the bold
button, you get '''Hello'''. Hooray! Please don't lose this in VisualEditor.
This may be related to bug 22487, but that's for UsabilityInitiative and
linking.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l