Editor removes style tag

Editor removes style tag

by Sumrah Khalid -
Number of replies: 1

Hi all

I am trying to add a custom menu using the Label resource on my course site. However, my editor strips away the style tags. 

I'm no developer so the limited knowledge I have of making drop-down menus is through w3c schools. 


Can anyone please help?


Best,

Sumrah.

Average of ratings: Useful (1)
In reply to Sumrah Khalid

Re: Editor removes style tag

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Sumrah,

I've had some luck by typing tags in by hand after switching to HTML view. In other words, click the HTML toolbutton, type in your style tags, click the HTML button again, then save the Label and see if it works.

If you can't do it that way, you can try using the Generico filter. There are a bunch of templates available for it and you should be able to get one that does what you want.