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)
VFE & Font's
System
Does anyone know of a way that if a user copies and pastes data into a VFE - that I can code it so that the font's I want then appear with that data. Right now when someone pastes data say from Word - whatever font they used is what's
showing up in the DCR. I have the publish attributes set to the following:
<style publishstyles="false" href="[eWebEditProPath]/ektnormal.css" preservewordstyles="false"/>
Find more posts tagged with
Comments
LooseCannon
Point your href attribute to a custom style sheet.
<style publishstyles="false" href="[eWebEditProPath]/my_custom_style_sheet.css" preservewordstyles="false"/>
Migrateduser
Thanks - this worked - however, my specs have changed and now I'm told I need to convert everything in the VFE that get's pasted into straight plain text - any ideas?
Thanks
Migrateduser
Replace iw_value with something custom. Something like IWHOME/iw-perl/site/5.00503/lib/TeamSite/PT/iw_value.pm, but that calls a perl subroutine in some module you write that performs the appropriate substitutions.
You would also have to check wherever you are calling iwpt_dcr_value, or parsing the DCR otherwise (such as with DCRParser).
Adam Stoller
Maybe I'm missing something here, but if you're converting everything into straigh plain-text - what are you gaining by using VFE? Why not use a simple textarea without VFE?
--fish
(Interwoven Senior Technical Consultant)