superscripts and subscripts

Submitted by juvaatai on Tue, 01/17/2017 - 23:40

Hello!

I would like to have superscript and subscript button to h5p-tools. Someone make it happen and make my chemisty teaching better. Thanks!

Summary:
Sub- and Super-script in Editor
Issue Status:
2
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network

tomaj

Wed, 01/18/2017 - 07:23

Permalink

Thanks

Hi Juvaatai,

Thanks for requesting this. I think it's important to get this in place, for both chemistry and math people.

- Tom

hamidme

Sat, 03/18/2017 - 20:25

Permalink

I'm more than waiting. I can

I'm more than waiting. I can't go further any longer

mjroberts

Fri, 04/14/2017 - 01:29

Permalink

Another vote here

I shall place my vote for subscripts and superscripts as well. (Chemistry teacher here)

In the meantime, I use https://lingojam.com/SubscriptGenerator to generate the unicode subcripts and copy/paste them in. It works but takes more steps.

tomaj

Tue, 04/18/2017 - 08:23

Permalink

Good tip

Good tip, thank you!

- Tom

hamidme

Sun, 04/30/2017 - 04:51

Permalink

Thanks a lot!This s really

Thanks a lot!

This s really helpful

roman

Fri, 04/21/2017 - 15:48

Permalink

There are several threads on

There are several threads on this, and I was going to create another one, but I was able to follow instructions on modifying the WYSIWYG editor for H5P in Drupal and added the Sub and Sup buttons to any text field in H5P that has a text editor. I am including this module, it is the only thing it does, so there is no configuration or anything. Install, enable, and it should work just fine.

As I am not a hardocre Drupal developer, use this module at your own risk. It is all code from H5P so I dont think it has anything that will be harmful but please use with caution and test before going to a production environment. We are using this on a production site and it has been a great help for our content developers.

Thanks

Attachments:
Package icon h5pceditor.zip

tomaj

Mon, 04/24/2017 - 07:06

Permalink

Thanks!

Hi Roman,

Thanks for contributing! The code in the package looks good and safe to me!

- Tom

hamidme

Fri, 09/22/2017 - 16:04

Permalink

Any similar code for

Any similar code for WordPress please? Thanks in advance

tomaj

Mon, 09/25/2017 - 09:12

Permalink

Yea, on Github

Hi,

You should have a look at this repo.

- Tom

WebboUK

Wed, 07/31/2019 - 11:35

Permalink

Superscripts in H5P elements

Hi, a friend told me of this solution which works for me....

To get superscript just hold down ALT key and type the numbers (using a keypad not from main keyboard)

Superscript1 = Alt+0185

Superscript2 = Alt+0178

Superscript3 = Alt+0179

This is using Unicode decimal characters: https://en.wikipedia.org/wiki/List_of_Unicode_characters#Superscripts_and_Subscripts

BV52

Wed, 07/31/2019 - 19:21

Permalink

Hi WebboUK,Thank you for the

Hi WebboUK,

Thank you for the tip ;-)

-BV52

koustubh

Thu, 02/10/2022 - 08:26

Permalink

That's not an efficient way

That's not an efficient way to do. Instead they must provide super and subscript keys to make lives easier, like Moodle provides.

You can test how Moodle editor gives complete control over keys.

R GOPINATH

Thu, 09/12/2019 - 12:04

Permalink

tamil unicode font not supported

please tell me how to use unicode font in h5p

Colin.wood

Thu, 09/23/2021 - 14:44

Permalink

I've found that just copying

I've found that just copying and pasting each symbol from the wikipedia reference above works.

otacke

Thu, 09/23/2021 - 20:30

Permalink

Hi!I guess like in any other

Hi!

I guess like in any other webpage: https://en.wikipedia.org/wiki/Unicode_input.

Best,
Oliver