richeditor-android icon indicating copy to clipboard operation
richeditor-android copied to clipboard

always subscript and superscript

Open jiahuifu opened this issue 10 years ago • 8 comments

always subscript and superscript

jiahuifu avatar Dec 10 '15 07:12 jiahuifu

@f630088281

what does that mean?

wasabeef avatar Dec 10 '15 10:12 wasabeef

@wasabeef it means that you can not turn off subscript and superscript modes

ObidosDev avatar Dec 14 '15 13:12 ObidosDev

for example, when you press bold, it turn the bold on if it is off, and off if it is on. However, both subscript and superscript do not behave like that. If you press superscript on an already superscript text, it remains superscript, and the same goes for subscript.

louis993546 avatar Apr 24 '16 08:04 louis993546

@louistsaitszho if you found an answer please let me know too.

sabriauf avatar May 05 '17 08:05 sabriauf

@sabriauf i never find solution to that. sorry

louis993546 avatar May 05 '17 13:05 louis993546

Problem can be solved by removing in normalize.css these lines:

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }

rahuldas790 avatar Jul 05 '18 12:07 rahuldas790

Anybody found the solution for this problem?

jishantmed avatar Jun 25 '19 10:06 jishantmed

Update the normalize.css file

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
// vertical-align: baseline; // removed 
}

sub {
  bottom: -0.25em;
  vertical-align: sub; // added
}

sup {
  top: -0.5em;
  vertical-align: super; // added
}

anoop110494 avatar Sep 15 '22 11:09 anoop110494