contentEditable superscript & subscript in Chrome contentEditable superscript & subscript in Chrome google-chrome google-chrome

contentEditable superscript & subscript in Chrome


I had a similar problem. For me, the problem was due to some "normalization" CSS altering vertical-align: baseline for sup and sub tags. Overriding that CSS and setting sub to vertical-align: sub and sup to vertical-align: super fixed it.