> Have any of you guys ever had much trouble customizing the eWebEdit
> Pro editor that comes bundled with Spectra?
> I'm trying to get it to pick up my stylesheet but to no avail. I've
> edited the config.xml and relevant javascript files directly following
> the followed the documentation provided but my changes don't seem to
> be recognized.

[Yes, I ran into the same problems with specifying a style sheet via a
config.xml file or through javascript. The workaround I am using is the
following. Add a head section with a link to your style sheet to the var
that is used by the editor:

contentVar = '<html><head><link rel="stylesheet" type="text/css" href="path
to css file"></head><body>' & contentVar & '</body></html>';

Then,

<cfa_htmleditor
  form="..."
  name="..."
  value="#contentVar#"
  ...
>

And the editor should use your stylesheet.
]

> Everytime I paste something in from MS WORD it still applies the
> default MS style sheet.

[When you paste in from Word or other MS apps, lots of styles, classes, big
tags, etc are present in the generated html. You can either use the
<clean><remove> section of your config.xml file to specify tags or
attributes that should be scrubbed out - but this is indescriminant - or
write your own code at the cf or javascript level for removing unwanted
tags/attribs or convert these to styles.]

> Thanks in advance,
> Vaughan

Cheers,
Seth

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to