• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4522: IE "Zones" must be documented as a potential WYSIWYG "gotcha"

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Documentation Urgent No Action Required   minor  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Copy paste does not work at all any more in TMCE

IE6 on XP

-- TWiki:Main/KennethLavrsen - 29 Aug 2007

Wanna bet? Some text copied from M$'s office site:


If you miss out of the free giveaway of Microsoft Office Professional 2007 at powertogether.com, which has been fully redeemed and sold out after dishing out 30,000 free copies of Office licenses and DVDs, you can still download and try the 2007 Microsoft Office System suits or its component applications for free. The free trial offer comes together with free license and product key for Microsoft Office 2007 which must be used to activate the Office 2007 trial software so that the Office 2007 will fully functional with all features as in retail product for about 60 days.
OK, that worked, IE 6.0.2900 Maybe if you tell me what you tried to do..... CC

Nothing special. I select some text

I copy it.

And I paste it. And nothing happens.

I can paste into the fields in the form below. But I cannot paste anything here in this window.

But the window jumps to the top so the browser sees the control V or paste from top menu.

I can copy from the TMCE window and paste into a text field in the form below. But I cannot paste any text into this window.

Our IE is 6.0.2900.2180

I have done a control-F5 to force reload of all JS etc. And naturally closed and reopened the browser.

KJL

Is anyone else able to reproduce this please?

-- TWiki:Main.CrawfordCurrie - 29 Aug 2007

Trying this from home on IE7

Pasting in IE7 which I have on a machine at home

Pasting in IE7 which I have on a machine at home

Works in IE7

KJL

And trying from my other home machine still on IE6

And trying from my other home machine still on IE6

Works on that too. It is not the first time that JS stuff fails on one IE6 computer and not the other.

How the hell do we debug this?

KJL

OK. I finally found the explanation.

And I am not sure what to do about it and if we should do anything about it.

I will do a little research at work on the my colleagues machine to see if it is my IE that was configured strangely by myself or this is a corporate policy from Mordac.

The explanation - and way to reproduce.

In IE. Open Tools -> Internet Options -> Security ->Custom Level -> go to near the bottom -> Allow paste operation via script

When enabled you can paste. When disabled you cannot.

Obviously one of the TMCE options implements some scripting when you paste.

At least we know why now.

As I said, I will probe a lot of machines to see what the default is - as an indicator if this is a problem or just Kenneth who once played with this setting and forgot about it.

-- TWiki:Main.KennethLavrsen - 30 Aug 2007

I'm going to change the attribution of this to TinyMCE Documentation. We desperately need someone literate to write some docs around this thing.

CC

I have walked through many browser here at work.

And I also tried to rest IE6 to defaults.

And this is the result.

  • In our office and per default in IE6 (ie what most people will have as settings) the "Allow paste operation" is disabled in the Internet zone and enabled in the local intranet. So people will experience that it may work on a typical Intranet site but all public TWikis will not work with copy/paste and I assume many large corporations with more than one internal IP range will have the problem also.
So I do not recommend that we become dependent on this setting. -- TWiki:Main.KennethLavrsen - 30 Aug 2007 Perhaps you can suggest how we can enable paste in a browser where the "Allow paste operation" option has been explicitly disabled? You might like to consider if this is even appropriate, given the fairly clear message given by the option....

-- CrawfordCurrie - 01 Sep 2007

The option prevents that scripts do the pasting. It does not prevent pasting.

Perhaps IE provides a way for the Java script program to know if this is diabled to it can gracefully fall back to just plain pasting.

I can tell you that 90% of normal users will never get around this problem and find out that they need to enable the setting. it is default off from Microsoft and it is a security related setting. So not having a way to work around it means that people will never be able to copy paste in TWiki

-- TWiki:Main.KennethLavrsen - 01 Sep 2007

The purpose of the option is to prevent an evil website from accessing the windows clipboard using Javascript. Since the function that pastes word files is a javascript function, if the option is disabled then you cannot paste word files. This is a security choice the user has made (conciously or not). TWiki is a web application, so is - must be - subject to the same security constraints as any other website in the same zone.

The obvious "way around it" is to ensure that IE users are aware of Zones, and that they place the TWiki sites they interact with into the Zone appropriate for the type of interaction they desire.

  • Falling back to "just plain pasting" sounds like a terrible idea - users will simply conclude that pasting a word document does not work.
  • w.r.t detecting the option, even if it is possible, I am extremely reluctant to create a custom version of the TinyMCE paste plugin.
CC

Changed the headline to reflect the requirement

This requirements is captured in the FAQ for the editor, so no further action is required.

CC

ItemTemplate
Summary IE "Zones" must be documented as a potential WYSIWYG "gotcha"
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.2.0, Mon, 27 Aug 2007, build 14639
AppliesTo Extension
Component TinyMCEPlugin Documentation
Priority Urgent
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r15 - 2007-09-16 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback