I've been having some problems with WYSIWYG editors and classes from my style sheet.
In Xinha and TinyMCE, the styles menu should be populated with available classes from the CSS, but when I click the dropdown menu it is empty. Is this just something that has to be put up with because of CMSms's Database stylesheets management thing or can I edit the code in anyway to fix it for either editor?
Thanks, but it hasn't helped. I can't find an extensions folder or a styles folder. I found a styles folder in tinyMCE, but putting the stylesheet there didn't help. Thanks again! Anyway, I can just put in the class in the html source in the meantime
Daniel
edit: [glow=green,2,300]UPDATE![/glow]
Ok, I've discovered how to do this. Basically, TinyMCE picks up whatever styles etc. are applied to the page it is on. Therefore, what you have to do is create a new admin theme which is exactly the same as the default and then add a stylesheet to it containing all your classes and their css. Hope this helps everyone! Another update, see below
Daniel
Last edited by Anonymous on Sat Jul 22, 2006 9:47 pm, edited 1 time in total.
Ok, scratch that, couldn't get cmsms to link to my new css.
Just have to: 1 create a new admin theme (go to the admin/themes directory and copy the default folder to the same place. Then rename it whatever) 2 add your classes from the css to the css/style.css file in the new theme 3 set the default theme to your new one
It's a bit annoying, but hopefully will be fixed for a future release!
Thanks,
Daniel
GAH! More updates below
Last edited by Anonymous on Sat Jul 22, 2006 9:53 pm, edited 1 time in total.