Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Visual Format Editor help needed! - Advanced
System
3 questions:
1) even after changing my visualformatconfig.xml file to use this (which is supposed to strip almost all extra tags):
<style publishstyles="false"
href="[eWebEditProPath]/ektnormal.css"
equivClass="all"
wrapstylewithdiv="false"
preservewordstyles="false"
preservewordclasses="false"
>
i still get lots of junk when pasting in from Word 2002 (it still has font and ms classes!).
<ul type="disc">
<li class="MsoNormal"><font size="2">High school diploma required; Business school or some college preferred</font></li>
<li class="MsoNormal"><font size="2">Three years administrative experience is required or relevant related experience</font></li>
<li class="MsoNormal"><font size="2">Strong PC skills, including knowledge of Microsoft Word and Excel required; Knowledge of Microsoft PowerPoint and experience with PeopleSoft preferred</font></li>
</ul>
I would like it to remove ALL:
class="MsoNormal"
<span> tags
<font> tags
empty <div> tags
Here is how i would like the code to look
<ul type="square">
<li>High school diploma required; Business school or some college preferred</li>
<li>Three years administrative experience is required or relevant related experience</li>
<li>Strong PC skills, including knowledge of Microsoft Word and Excel required; Knowledge of Microsoft PowerPoint and experience with PeopleSoft preferred</li>
</ul>
2) how do i default all bulleted lists pasted into the VFE from MS word so they appear exactly in this format (square)?
<ul type="square">
<li>Item 1</li>
<li>Item 2</li>
<li>item 3</li>
</ul>
3) How do I make eWebEditPro start in HTML mode instead of WYSIWYG mode?
---------------------
Eric B.
Federated Investors
AOL IM: arthas76
Find more posts tagged with
Comments
MattP
All of this is covered in the developers guide starting on page 267...
1) reducetags="true"
When a user pastes content from other applications
into eWebEditPro, the content may contain redundant
tags, such as extra font and bold tags. If this is set to
“true,” extra tags are combined or safely removed.
AND
prompt="true | false"
Can suppress the message that appears when pasting
content from Microsoft Office 2000 or later: "HTML
code generated by Office 2000 has been detected...Do
you want to clean the HTML code now?"
To suppress the message, set prompt to "false".
AND
<config>
<features>
<clean>
<remove>
<tagonly>span</tagonly>
<tagonly>font</tagonly>
</remove>
</clean>
</features>
</config>
2) What changes when you paste? Cant you use a style sheet to control this much easier?
3) Not sure if this is possible.
Matthew Petitjean
BOC Group
Murray Hill, NJ 07974 USA
jzhuang
I believe the answer for item number 3 is NO.