Skip to content

WYSIWYG not working after upgrading from 2.2.3 -> 2.2.4 #15638

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

Closed
danharper83 opened this issue May 31, 2018 · 14 comments
Closed

WYSIWYG not working after upgrading from 2.2.3 -> 2.2.4 #15638

danharper83 opened this issue May 31, 2018 · 14 comments
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update

Comments

@danharper83
Copy link

danharper83 commented May 31, 2018

Preconditions

  1. Sart with Magento version 2.2.3
  2. Run composer update to version 2.2.4
  3. Follow update steps using command line.

Steps to reproduce

  1. Go to catalog
  2. Click on any product
  3. Click show hide editor

Expected result

  1. Should see WYSIWYG

Actual result

  1. Do not see WYSIWYG
  2. Get errors in console
    [Screenshot was included. Redacted due to sensitive info]
@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label May 31, 2018
@magento-engcom-team
Copy link
Contributor

Hi @danharper83
Please try clearing static content in your store. This issue looks like it relates to it.

@hostep
Copy link
Contributor

hostep commented Jun 2, 2018

@danharper83: do you have minifying JS enabled?
If yes: then you are running into a new bug introduced in 2.2.4, because the now-included-by-default Klarna modules have a bug in them which causes the tinymce editor to not work properly when minifying JS is enabled.
It has already been reported at the end of an old issue, so it's good to keep this issue open, until Klarna prepares an update for their modules and Magento releases them on their repo, so we can update them using composer.

For now, easy fix: disable the Klarna modules if you aren't using them :)

@danharper83
Copy link
Author

I disabled Klarna and then cleared the static content but still have the problem. Where do I find the JS minification setting?

@seo99ita
Copy link

seo99ita commented Jun 6, 2018

I solved the problem by following these and then following these too, which I fully endorse.
Now everything works correctly.

@hostep
Copy link
Contributor

hostep commented Jun 6, 2018

@danharper83: this works for me (started from a clean 2.2.4 project running in production mode):

bin/magento module:disable Klarna_Kp Klarna_Ordermanagement Klarna_Core
bin/magento deploy:mode:set production

I wouldn't recommend following the first link by @seo99ita though, that's not the right way to go.
I agree with the second link though, good article by Jisse!

@danharper83
Copy link
Author

I didn't spot the other Klarna modules, once disabled and re-deployed all works fine 👍

Can be marked as resolved I guess, is this logged with Klarna somewhere so we can link the issues?

@hostep
Copy link
Contributor

hostep commented Jun 7, 2018

I'd leave it open until fixed.

No idea if someone reported it to Klarna (I didn't) or even how to report it, I've opened an issue for the doc team requesting for contact information for those new Core Bundled Extensions: magento/devdocs#1961

@matin73
Copy link

matin73 commented Jun 27, 2018

bin/magento module:disable Klarna_Kp Klarna_Ordermanagement Klarna_Core worked for me

@hostep
Copy link
Contributor

hostep commented Jun 27, 2018

Updating the Klarna modules to the latest version using composer seems to fix the issue, at least I don't see any <minify_exclude> entries anymore in those modules, so I assume it should be fixed.

Can someone confirm, so we can close this issue?

@danharper83
Copy link
Author

Tested and it seems to be fixed in 2.2.5

@hostep
Copy link
Contributor

hostep commented Jul 2, 2018

Thanks @danharper83. @LSERRE also confirmed in #11577 (comment), so let's close this issue as it is fixed in the latest version of the Klarna module.

@hostep hostep closed this as completed Jul 2, 2018
@oviliz
Copy link

oviliz commented Sep 24, 2018

Why do we need these modules anyway?

@drinkingsouls
Copy link

I also have this problem in fresh install. Disabled Klarna but the issue persists.

@hostep
Copy link
Contributor

hostep commented Apr 8, 2019

@drinkingsouls: it might help if you read the entire thread of #11577, there are some useful comments there which might steer you in the right direction. Good luck! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update
Projects
None yet
Development

No branches or pull requests

7 participants