﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10666	Cross frame problems	Stig Runar Vangen	Frederico Caldeira Knabben	"I'm using CkEditor in a GWT integration. This worked well until I just tried to update to the latest version 4.2 from version 4.0.1. I tracked this problem down to the isArray method in the tools.js file. The instanceof method works if you receive data from the same frame as where you are using the editor. When you send an object to an another frame, the instanceof Array method will no longer work. More details on this problem, and how to solve it is described here:

http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/

In short, this seems to be the best way to detect if an object is an array:

function isArray(o) {
  return Object.prototype.toString.call(o) === '[object Array]';
}

I should also probably mention that GWT always loads all code through an iframe, which makes the current editor incompatible with a GWT environment.
"	Bug	closed	Normal	CKEditor 4.2.2	General	4.2	fixed	IBM	stig@… monahant@… satya_minnekanti@…
