Text editors

Editor removes style tag

Picture of Sumrah Khalid
Editor removes style tag

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?



Average of ratings: -
Picture of AL Rachels
Re: Editor removes style tag
Core developersParticularly helpful MoodlersPlugin developersTesters

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.

Average of ratings: -