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

CkEditor modal dialogs broken with 4.14.0 #118

Closed
adrianbj opened this issue Apr 16, 2020 · 6 comments
Closed

CkEditor modal dialogs broken with 4.14.0 #118

adrianbj opened this issue Apr 16, 2020 · 6 comments

Comments

@adrianbj
Copy link

Hey @rolandtoth - since PW upgraded the version of CkEditor to 4.14.0 it's no longer possible to interact with Ckeditor's dialogs, such as View Source, Table, etc.

The culprit is: .cke_dialog_background_cover{z-index:103000 !important} in aos.min.css

There are some other similar rules just after that one which don't seem to be a problem in my limited testing, but maybe they can all be removed or modified so they don't break things?

Thanks!

adrianbj referenced this issue in processwire/processwire Apr 16, 2020
@Sebiworld
Copy link

Sebiworld commented Jun 5, 2020

I had to delete the rule manually from the module's styles/aos.min.css file, because I needed the source-view to work. Until now, there seem to be no negative effects without the rule...

@adrianbj
Copy link
Author

adrianbj commented Jun 5, 2020

because I needed the source-view to work

Remember that this doesn't just affect view source - it also breaks the image insert dialog.

@rolandtoth - I'd submit a PR to fix this, but I honestly don't really understand why any of those cke_* z-index rules are there. Can they all be removed?

@rolandtoth
Copy link
Owner

@adrianbj

I made those z-indexes that high because I thought that's the best way to make sure the cke overlay covers the admin header, sidebar, etc. So far it was OK, apparently recent ckeditor updates broke this workaround.

I would say if removing the rule you mentioned in the first comment works then it's enough for now, until it proves the opposite :)

@rolandtoth
Copy link
Owner

Just updated to 2.0.21, please check. I could reproduce the source dialog issue but the image insert dialog was OK here.

@tbba
Copy link

tbba commented Jun 6, 2020

I can confirm that its fixed here - thank you!!

@adrianbj
Copy link
Author

adrianbj commented Jun 8, 2020

Yep, all good again now - thanks @rolandtoth

@adrianbj adrianbj closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants