Forums / General / OE Paste from Word problem

OE Paste from Word problem

Author Message

Valerio Saggini

Tuesday 12 April 2005 4:25:33 am

I've just bought and installed the Online Editor (2.0 on eZ 3.5).

The problem is that when I paste from MS Word or OOo Writer the editor parses the text and erase EVERYTHING.

Same behaviour with text copied from browsers (FireFox and Explorer).

I remember having tested the OE in the online demo at ez.no some months ago and I could paste almost anything.

Are there some settings that I have to change?

What's the problem?

Thanks

Valerio

Wenyue Yu

Tuesday 12 April 2005 5:32:09 am

Hi,

There is no settings need to be changed.
Could you do some more test by editing different content object and past different content from word?
What warning message did you get when you save the draft? Copy from word should work fine.

Regards,
Wenyue

Valerio Saggini

Tuesday 12 April 2005 6:03:35 am

Hi Wenyue,

I've just tried to paste a simple Word document (it contains only normal and italic text) to the OE in the demo site at ez.no (Article class).

Everything has been deleted. Only the <emphasize> tags remain, but empty (no content between them).

See the error message below:

The draft was only partially stored.

Body:

* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'i' is not allowed to be the child of 'span' (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'i' is not allowed to be the child of 'span' (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag 'o:p' not supported (removed).
* Tag '!--[if' not supported (removed).
* Tag '!--[endif]--' not supported (removed).
* Tag 'o:p' not supported (removed).

Valerio Saggini

Tuesday 12 April 2005 6:05:55 am

Wenyue,

You can see my test in the demo site on ez.no.

It's entitled "Test article"

Last modified: 12/04/2005 3:04 pm, Administrator User

Thanks

Valerio

Wenyue Yu

Wednesday 13 April 2005 6:09:17 am

Hi,

I have tested on ez.no as well, and it works fine.
I guess the problem might related to http://ez.no/community/forum/install_configuration/online_editor_blinking_problems/#msg83747
and you will find a suggested sulotion. This problem will happen for some winxp, but not all. Could you try to change css files in your local installations and test again? Or you may find another computer to test?

Regards,
Wenyue

Paul Borgermans

Wednesday 13 April 2005 8:34:38 am

Wenyue,

I have the same problem with OE:

in firefox: copy/paste from MsWord almost always looses all content, sometimes not even a warning about unsupportted tags.

when the same text is copy/pasted in IE, the OE works fine after a warning about unsupported tags.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Per-Espen Kindblad

Thursday 14 April 2005 6:50:48 am

Wenyue wrote:
"I think the problem is related to:
http://ez.no/community/forum/install_configuration/online_editor_blinking_problems/#msg83747 "
-------------------
Wenyue, I don't think it's related to this problem. This was the problem I sent you an email about a couple of months ago. We also got this list of unsupported tags when publishing content, but if we publish one more time, the content is stored (after removing these "unknown" tags I guess..and sometimes content).

We got this problem after the latest upgrade as mentioned, so I think some stuff is changed in the latest OE version.

Per-Espen Kindblad

Friday 15 April 2005 1:14:57 am

I just copied some clean text from Mozilla Thunderbird(from an email), and when publishing the message, the "warning" I got was:

Tag '!--startfragment' not supported (removed). Tag 'font' not supported (removed). Tag '!--startfragment' not supported (removed). Tag 'font' not supported (removed). Tag '!--startfragment' not supported (removed). Tag 'font' not supported (removed).

Should the OE operate this way?
Maybe a more userfriendly way to do this when it comes to removing font-tags would be just to remove these and not give this warning. Other more important tags is good that the OE gives a warning when removing.

Jack Rackham

Friday 15 April 2005 6:49:48 am

Well pasting text from word to the internet often cause problems.
The reason this happens is that MS word uses another style for sign like "-

With ms word formatting
Dette er en &#8220;test&#8221; for å se -hvordan dette går?

With normal formatting
Dette er en "test" for å se -hvordan dette går?

IN OO 1.1.3
Dette er en "test" for å se -hvordan dette går?

John Laux

Saturday 04 June 2005 2:26:58 pm

I have just purchase OE and I have Mozilla 1.0.4 and I cannot past text from a Word Doc.

I go to save it and it gives me similiar errors as in the above reply. And then the xml text box has a couple of Anchor Icons and a bunch of P tags everything is missing...

Can someone explain this to me when all of your files in the install say that firefox/mozilla are supported.

John

kracker (the)

Saturday 04 June 2005 3:40:18 pm

Allo!

There is a thread (a little negative) but it does talk in detail about this problem.

<i>http://www.ez.no/community/forum/general/oe_does_it_work_for_you</i>

If your looking for more information on this subject from others in the larger vendor/product generic perspective, the malling list cms-list talked in detail on this topic.

<i>http://archivist.incutio.com/viewlist/cms-list/1988</i>

It identified at least one (non-free) solution to the situation called WordCleaner. There is also a gratis (zero cost) limited trial version available.

<i>http://www.zapadoo.com/wordcleaner/index.htm
http://www.zapadoo.com/wordcleaner/download_free_trial.htm</i>

cheers,
//kracker

<i>Wizards of OS 3 : Keynote E. Moglen</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

James Ward

Tuesday 12 July 2005 12:01:36 pm

It appears that the wordmatch.ini file included with the online editor was designed to help with these problems but I can not find any documentation on it. Anyone know about this file and it's potential use?

working at www.wardnet.com
blogging at www.jamesward.ca

eZ debug

Timing: Jan 18 2025 11:25:27
Script start
Timing: Jan 18 2025 11:25:27
Module start 'content'
Timing: Jan 18 2025 11:25:27
Module end 'content'
Timing: Jan 18 2025 11:25:28
Script end

Main resources:

Total runtime0.9394 sec
Peak memory usage4,096.0000 KB
Database Queries233

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.8359180.8438
Module start 'content' 0.00700.7828 769.6797925.5469
Module end 'content' 0.78980.1495 1,695.2266357.3203
Script end 0.9393  2,052.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4520210.0002
Check MTime0.00150.1598210.0001
Mysql Total
Database connection0.00100.104510.0010
Mysqli_queries0.804685.64952330.0035
Looping result0.00270.28342310.0000
Template Total0.910696.920.4553
Template load0.00230.246320.0012
Template processing0.908396.694520.4542
Template load and register function0.00010.013910.0001
states
state_id_array0.00080.080710.0008
state_identifier_array0.00070.078220.0004
Override
Cache load0.00240.25921920.0000
Sytem overhead
Fetch class attribute can translate value0.00150.162390.0002
Fetch class attribute name0.00200.2119180.0001
XML
Image XML parsing0.00550.584590.0006
class_abstraction
Instantiating content class attribute0.00000.0040210.0000
General
dbfile0.00480.5131570.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
23content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
13content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 59
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs