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)
VisualFormat adding <p></p> when pasting table?
fiquebem
In TS V6.1, if we paste a table (copied from a Web page, for example) into a VF window, when we View Source, we're seeing extraneous "<p></p>" before the table. For example:
-------------------------
<p></p>
<table cellspacing="1" cellpadding="0" width="100%" border="0" noshade="noshade">
<tr valign="top">
...
-------------------------
We aren't seeing that in TS 5.5.2 (with the same VF editor configuration and the same clipboard content).
Removing the <p></p> (and the blank line following it) manually seems to work. That is, VF doesn't automatically add them back.
Mercifully, we don't see the "<p></p>" when pasting text or an image link into VF in TS 6.1.
Has anybody else experienced something like this?
Perhaps VF in TS 5.5.2 is cleaning up the empty paragraph at the top when we View Source, but I don't think so -- I disabled cleaning there altogether but there was no difference: the <p></p> wasn't there to be seen.
What to do?
Thanks,
S.
Find more posts tagged with
Comments
jbyork
You could maybe use the continueparagraph=true in the VFE configuration file.
Example:
<standard autoclean="false" publish="xhtml" continueparagraph="true" shiftenter="true">
...
</standard>
Another alternative is to play around the the cr and lf attributes of clean. We had problems with magical line feed characters and carriage return characters being added by VFE to our XML. The cr and lf attributes can be used to translate those characters differently. The example below actually strips that stuff out on save.
Example:
<clean charencode="utf-8" cr="" lf="" showonsize="5000" preferfonttag="false" reducetags="true"/>
Ramakanth
Hi Jeffrey,
I am using Team Site 6.1. I am new to content managment and to team site. Can you please let me what is the VFE configuration file name and where does the file exists in the installation.
Thanks
Ramakanth
Edited by Ramakanth on 06/15/05 01:17 PM (server time).
amarnath1
Config file is called : visualformatconfig.xml
Path : iw-home/httpd/iw/config
Ramakanth
Great Thanks