Maker Pro
Maker Pro

Subscript / Superscript in Editor

Ian

Administrator
After a suggestion from @hevans1944 in this post, I've added subscript/superscript tag buttons to the WYSIWYG editor. I remember trying to do this a few years ago, but ran in to problems - however it looks like a more recent forum upgrade has enabled us to now add this feature.

I've got a few more changes I'm trying to add to the editor "insert" dropdown, but I'm still working on figuring that out. For now, I've added the new editor icons to the left of the "save" button :).
 

Harald Kapp

Moderator
Moderator
a2 <> a2 <> a2
O.K., in direct comparison subscript works, too, just not that obviously as superscript
 

Ian

Administrator
I'll see if there's something I can do to tweak subscript, as I agree it doesn't look too obvious - I'll have a play around and see what I can do :).

Testing:

H2O
H2O
New line
Super
 
Last edited:

Ian

Administrator
I've added some manual CSS overrides to the subscript code, does that look better now? You may need to hit CTRL+F5 to force refresh the CSS cache, so that the page re-renders correctly.
 

hevans1944

Hop - AC8NS
Gee, @Ian, you are AWESOME! Thank you very much.

I did a preliminary investigation on the World Wide Web with Google using keywords like "xenforo" and "super-script" and "sub-script" and found lots of discussion (there is a XenFORO forum for admins and programmers like yourself!), but most of it went over my head since I am not a "programmer" per se. So I gave up and asked you directly. Thanks for responding so quickly.

Hop
 
  • Like
Reactions: Ian

Ian

Administrator
You're very welcome :). Whenever I can make little tweaks to improve things for members, I try my best :D.
 
Top