← Back to team overview

schooltool-developers team mailing list archive

Pasting from MSWord into fckEditor control

 

We have an instance of a school (SLA) where there is a teacher that
uses Microsoft Word and then cut and paste into the fckEditor.  This
results in data that has MS markup and various other annoying meta
data that causes the PDF view to crash.  We addressed this issue with
a patch to their custom PDF view that filters out the corrupt data
into something that can be printed.

Tom found some rather informative links that address how to fix the
paste problem which would involve changing our fckEditor widget to
change the way the JavaScript classes are instantiated:

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
(searching for Word yields various config settings)
http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Setting_Configurations

Justus,

Would you happen to have access to a Windows machine (god forbid)
where you could test out making the changes suggested in the links?
Also, is there any chance you could try to fix this for tomorrow when
I go to SLA and they start entering their data?  As I mentioned, we have
the corrupt data patch, but it would be even safer to not corrupt the
data at all if we can manage it.

Thanks,
Alan



Follow ups