Skip to content

Print and Preview don't work on Firefox when using editor from CDN #4444

@jswiderski

Description

@jswiderski

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Open https://ckeditor.com/docs/ckeditor4/latest/examples/fullpreset.html
  2. Press Print or Preview button

Expected result

What is the expected result of the above steps?

Preview should open in a window normally.

What is the actual result of the above steps?

Blank window opens.
Error is thrown in the console: Permission denied to access property "_cke_htmlToLoad" on cross-origin object

Other details

  • Browser: Firefox
  • OS: Any
  • CKEditor version: 4.0+
  • Installed CKEditor plugins: Preview, Print

I have tried setting Header set Access-Control-Allow-Origin "*" but it didn't work. This could be Firefox issue:
https://bugzilla.mozilla.org/show_bug.cgi?id=911444
mozilla/pdf.js#5397

Metadata

Metadata

Labels

browser:firefoxThe issue can only be reproduced in the Firefox browser.status:confirmedAn issue confirmed by the development team.support:2An issue reported by a commercially licensed client.type:bugA bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions