Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Visual Format Not Inserting Class Style
chriso
I've been seeing an intermittent problem with visual format where it reads my .css file and shows that those styles ARE available from the menu but when I highlight text and select that style (lets say to make text blue) the class attribute never gets inserted into the source code. Weird thing is that the style appears to be applied in the visual editor view. In other words the text turns blue in the WYSIWYG view but with no real change to source. ??
It almost seems as if it is getting cleaned but I don't have it set to clean the class attribute.
It was working fine for a day but I can't find any change I made to anything that would have fouled it up.
Anyone have insight into this?
Thanks.
Find more posts tagged with
Comments
JamJamT
I believe the VF WYSIWYG uses ektnormal.css for style selection, so....
Check your visualformatconfig.xml file for the publishstyles tag.
- If you have got publishstyles=false then ensure your "blue" css style is listed in your sites .css file (and also in your ektnormal.css). If you fail to put it in your sites .css file, the applied style would only appear in the VF WYSIWYG but not in your generated output.
- If publishstyles=true then VF will save, with the content, the style "blue" (generally not a good thing if you want to easily change the style later).