Opened 5 years ago

Last modified 4 years ago

#12979 confirmed Bug

[FF] Preview does not work when CKEditor is loaded from a different domain

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Firefox Cc: lokesh2206

Description (last modified by Wiktor Walc)

  1. Open in Firefox http://ckeditor.com/demo#full
  2. Click preview
  3. Result: an empty page

Works fine on http://ckeditor.com/latest/samples/replacebycode.html where CDN is not used.

Change History (7)

comment:1 Changed 5 years ago by Wiktor Walc

Description: modified (diff)

comment:2 Changed 5 years ago by Jakub Ś

Status: newconfirmed

comment:3 Changed 4 years ago by Wiktor Walc

Cc: lokesh2206 added

comment:4 Changed 4 years ago by Wiktor Walc

#13150 marked as duplicate.

comment:5 Changed 4 years ago by lokesh2206

@wwalc..did you find any solution as you have posted 6 weeks back?

comment:6 Changed 4 years ago by Wiktor Walc

Nope. IIRC I was looking if it's a regression and was almost convinced that either it was broken from the beginning (but then someone would have reported it earlier?) or it got broken in some version of Firefox. Did not have older versions of FF to confirm it though.

As my research did not end with any final conclusion, I preferred to not post anything here.

comment:7 Changed 4 years ago by lokesh2206

Try adding

document.domain = 'different/cdn domain';

before if condition in preview.html of preview plugin folder. It worked for me!

Last edited 4 years ago by lokesh2206 (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy