I'm currently using Umbraco 8 and everything was working fine in the RTE. I could highlight some text and use any of the styles I defined in the back-end.
If I now click the formats drop down, nothing happens and the Content and Media links along the top are no longer clickable. I think the menu is popping up there, but is invisible, so therefore blocks the two links (not 100% sure though). If I refresh, the links are accessible again.
I don't remember changing any of the files on the server. Is there any way they could have got corrupted? Which ones would I need to replace to test this?
If you haven't had a reply yet it's probably because the usual suspects that answer these things haven't seen it before!
Let's see if we can work out what's going wrong.
Open up dev tools (F12 in Chrome / FF) and reload Umbraco - are there any errors in the console tab?
Also - go to the settings section, look for your rich text editor data type and check the style sheet is selected and that this exists on the server (I usually call mine RTEstyles.css).
I can see the formats menu popping up in the top left. Weirdly, if I keep clicking the formats button, it gets more and more obvious (image 1, image 2).
If I were to guess from that I'd guess that your stylesheet is malformed.
Try emptying it out (copy it to note pad etc). Save it and then hard reload Umbraco (best way is whilst running dev tools Ctl + F5) to avoid the cache.
Then slowly bring the styles back in until you spot the problem. Running it through a CSS validator might help too,
Formats not working
Hi,
I'm currently using Umbraco 8 and everything was working fine in the RTE. I could highlight some text and use any of the styles I defined in the back-end.
If I now click the formats drop down, nothing happens and the Content and Media links along the top are no longer clickable. I think the menu is popping up there, but is invisible, so therefore blocks the two links (not 100% sure though). If I refresh, the links are accessible again.
I don't remember changing any of the files on the server. Is there any way they could have got corrupted? Which ones would I need to replace to test this?
Thanks,
Tom
This is still a problem. :|
Bump
If you haven't had a reply yet it's probably because the usual suspects that answer these things haven't seen it before!
Let's see if we can work out what's going wrong.
Open up dev tools (F12 in Chrome / FF) and reload Umbraco - are there any errors in the console tab?
Also - go to the settings section, look for your rich text editor data type and check the style sheet is selected and that this exists on the server (I usually call mine RTEstyles.css).
Steve
Thanks for the response Steve.
The RTE definitely has the style sheet selected.
I don't get any errors on load, but I get an error when I click the Formats menu:
I can see the formats menu popping up in the top left. Weirdly, if I keep clicking the formats button, it gets more and more obvious (image 1, image 2).
If I were to guess from that I'd guess that your stylesheet is malformed.
Try emptying it out (copy it to note pad etc). Save it and then hard reload Umbraco (best way is whilst running dev tools Ctl + F5) to avoid the cache.
Then slowly bring the styles back in until you spot the problem. Running it through a CSS validator might help too,
Spot on. I hadn't closed a } on a @media block.
Thanks for pointing me in the right direction, Steve.
is working on a reply...