Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jswiderski opened this issue Dec 18, 2020 · 2 comments
Closed

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

jswiderski opened this issue Dec 18, 2020 · 2 comments
Assignees
Labels
browser:firefox The issue can only be reproduced in the Firefox browser. status:confirmed An issue confirmed by the development team. support:2 An issue reported by a commercially licensed client. type:bug A bug.

Comments

@jswiderski
Copy link
Contributor

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

@jswiderski jswiderski added type:bug A bug. browser:firefox The issue can only be reproduced in the Firefox browser. labels Dec 18, 2020
@lslowikowska lslowikowska added the support:2 An issue reported by a commercially licensed client. label Dec 21, 2020
@f1ames f1ames added size:M and removed size:M labels Dec 21, 2020
@Dumluregn Dumluregn added the status:confirmed An issue confirmed by the development team. label Dec 23, 2020
@KarolDawidziuk KarolDawidziuk self-assigned this Jun 2, 2021
@f1ames f1ames added this to the 4.16.2 milestone Jul 15, 2021
@f1ames
Copy link
Contributor

f1ames commented Aug 4, 2021

Fixed in #4758.

@f1ames f1ames closed this as completed Aug 4, 2021
@jacekbogdanski
Copy link
Member

jacekbogdanski commented Aug 11, 2021

Unfortunately, we won't be able to provide the fix in 4.16.2 release. I'm sorry for the confusion, we will move this issue to the next release instead. Also, see #4813 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser:firefox The issue can only be reproduced in the Firefox browser. status:confirmed An issue confirmed by the development team. support:2 An issue reported by a commercially licensed client. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

6 participants