Adding css in the editor

Forums: 

Hi I think it would be very useful to add a field for custom css in the editor. The string could then be insert into the head with Javascript and the default styles overridden. There is no option on the LMS I'm working with to add custom css to individual pages, and seems like this would be the easiest way. 

I'm planning to add a pull request for this, but wanted to check if anyone had thoughts on if this is a good way to go?

Cheers Jorgen

otacke's picture

Hi Jorgen!

I think that the H5P core team is already working on "themes" or CSS customization integrated into content types, see https://h5p.org/comment/34040#comment-34040 - or at least they are planning to. Not sure if that would be conflicting with your ideas.

Best,
Oliver