https://bugzilla.wikimedia.org/show_bug.cgi?id=48680
Web browser: ---
Bug ID: 48680
Summary: VisualEditor: Cursor position should account for
padding in alien inline blocks
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ContentEditable
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Created attachment 12363
--> https://bugzilla.wikimedia.org/attachment.cgi?id=12363&action=edit
Screenshot of problem.
Steps to reproduce bug:
* Edit document with with <p>Hello '<code>world</code>'</p>
([[mw:Extension:Thanks#API_Documentation]] at this time)
* Place cursor at end of sentence and move cursor back
with arrow keys one step at a time.
Expected:
When placed after the first ' before <code>world</code>,
it is blinking in the place new text would appear:
> \/
> Hello '|{ world }'
Actual:
It is visible inside and behind the <code>world</code> alien block.
The <code> block has some padding, and it is appearing in front of the "w" of
"world" instead of after the first apostrophe:
> \/
> Hello '{ |world }'
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l