Page MenuHomePhabricator

Expose additional image alignment attributes in wiki text
Closed, ResolvedPublic

Description

Author: public.wiki

Description:
I am a user from Wikipedia. I found Image tag only can use "left", "right" and "center" alignment attributes
on the current version, but I need more attributes, like "absbottom", "absmiddle", "baseline" and so on for
getting more perfect make-up effects. For example, there are still many Chinese characters not included
by the current Unicode version or system fonts, and an alternative solution is converting those
characters to image files. In order to make images stand (or looks like) in the same baseline with words,
more alignment attributes are necessary. Otherwise the make-up will look ugly and have a bad reading
experience. It will be appreciated to bring more alignment attributes on the next version. Thank you in
advance.


Version: unspecified
Severity: enhancement

Details

Reference
bz8535

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:29 PM
bzimport set Reference to bz8535.

ayg wrote:

Proposed patch

Proposed patch, needs review.

Attached:

ayg wrote:

Applied with a small tweak in r19720.