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)
Eliminating extraneous style attributes with <style> tag in vfconfig.xml file
dgordon
I've created a template for adding content and am using VisualFormat for minor formatting. I have a unique vfconfig.xml file for every client project which specifies whether to maintain styles coming from text copied and pasted from Word:
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I am controlling the styles on each page using an external .css file designated in the page's head tag.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;However, when my business user copies text from Word into a textarea in the template and clicks on the view source button in VisualFormat, she sees extra span and font attributes assigned. When she generates the page, the extraneous formatting seems to override the styles set in the external .css file.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;In addition, if I copy the text into Notepad, save, and then copy back into the template, the text is assigned a Bold style automatically that I can't get rid of.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Anyone having a problem similar to this?&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Any ideas on how to fix the issue?&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Thanks in advance.
Find more posts tagged with
Comments
There are no comments yet