We use FCKeditor (now superseded by CKEditor <http://ckeditor.com/>), which handles pasting in from Word largely by stripping out unwanted markup.
We like the configuration options in FCKeditor which allow us to restrict HTML to our desired element set (as expressed by this schema, which is not used by the editor, but by a separate validation routine):
<http://www.adamsmithcollege.ac.uk/xml/schema/w3c/1999/xhtml/simpletextentry.xsd>
in this case: paragraphs, ordered/unordered lists, links, and emphasis. The one frustration is that we cannot prevent line breaks, although we use CSS that highlights them in a warning style.
You also get options on how to handle special characters (since our information system is XML-based, we do not want Latin HTML entity names, for example).
Tavis Reddick
Web Content and Architecture Developer
ICT Systems Development
ICT Department
Adam Smith College
-----Original Message-----
From: Managing institutional Web services [mailto:[log in to unmask]] On Behalf Of Richard Rankin
Sent: 24 November 2010 19:48
To: [log in to unmask]
Subject: text editors
...
Is anyone using a text editor that allows cut and paste from word and maintains a reasonable format - as this is a key system happy to consider options that might cost money
Ricky
The information contained within this e-mail is confidential and may be privileged. It is intended for the addressee only. If you have received this e-mail in error please inform the sender and delete this e-mail and any attachments immediately. The contents of this e-mail must not be disclosed or copied without the sender's consent.
The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the author's employer (the College). The College does not take any responsibility for the views of the author.
Adam Smith College, Fife, is a registered Scottish charity, No: SC021196
|