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)
VF-Retaining the formatting
jagiyer
I have a html code in Visual format as below and I will have to maintain the same format.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="MSHTML 6.00.2800.1505"
name="GENERATOR">
<link title="/iw/ewebeditpro20/ektnormal.css"
href="/iw/ewebeditpro20/ektnormal.css" type="text/css"
rel="stylesheet">
<p></p>
<table width="100%">
<caption align="left">style="White"<br>
summary="test"<br>
border="1"<br>
headerborder="t"<br>
caption="test"<br>
hidecapt="t"<br>
width="100%"<br>
image_padding="t"</caption>
<tr>
<td valign="center" align="middle">test</td>
<td>rtrtr</td>
<td valign="center" align="left">test</td>
<td valign="center" align="middle">test</td>
</tr>
<tr>
<td>5656</td>
<td>7878</td>
<td>7878</td>
<td>89</td>
</tr>
</table>
When I press the Enter key after the parameter summary="test" in WYSIWYG mode,I am losing the format.
The Resulting html source will be as below:
<p></p>
style="White"<br>
summary="test"<br>
<p><br>
header_col_alignment="Center"<br>
border="1"<br>
headerborder="t"<br>
caption="test"<br>
hidecapt="t"<br>
width="100%"<br>
image_padding="t"</p>
<table>
<tr>
<td valign="center" align="middle">test</td>
<td>rtrtr</td>
<td valign="center" align="left">test</td>
<td valign="center" align="middle">test</td>
</tr>
<tr>
<td>5656</td>
<td>7878</td>
<td>7878</td>
<td>89</td>
</tr>
</table>
Can anybody tell me how I can retain the formatting in Visual format (I would want to retain the table tag and all the values in the
<caption> tag on pressing the Enter Key). Please note that I should do this without using the Shift+Enter key or by removing the p tags.
Thanks,
Jag......
Find more posts tagged with
Comments
JeremyH
You may have luck with some the visualformatconfig.xml. You can set the clean option to minimal to reduce a lot of the cleaning. You can also add your own stripping or reduction of tags as needed. However, even with minimal cleaning, CFE still does a little cleaning on its own.