AztecEditor-Android icon indicating copy to clipboard operation
AztecEditor-Android copied to clipboard

Visual Editor rendering problems with double `text-align` CSS declaration

Open daniloercoli opened this issue 7 years ago • 0 comments

It seems that the parsing of style attribute may produce different rendering on the screen, if there are double declaration of text-alignment in the same tag.

Try the following code:

<div>
 <p style="text-align: center; text-align: right;"><b>Bold</b></p>
</div>

And this is the result: what

Note: It also seems that, if there are other style declarations, like say text-color, one of the text-align is removed. Which is fine I guess.

daniloercoli avatar Jun 07 '18 14:06 daniloercoli