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

Feature/fix cke link popup #4427

Merged
merged 4 commits into from
Jan 21, 2021

Conversation

skamphuis
Copy link
Contributor

Closes #4426

Summary

I found an issue with the link popup in the update CKEditor provider, after my PR #4383 was merged.

Opening the link popup of the editor, when there is no content in the editor, results in a javascript error.
This was caused by the dnnpages plugin.

It turns out that the dnnpages plugin is a copy of the link plugin, with some changes to facilite the portal-page dropdown. So to fix this is issue, I compared the existing dnnpages plugin.js to the original plugin.js of the link plugin of CKE 4.5.3 (the old one) and implemented the same changes in a fresh copy of the link plugin of CKE 4.15.

Also I found that jquery.ckeditor.adapter.js is now in CKE itself, so the extra js file isn't needed anymore.

@bdukes bdukes added this to the 9.9.0 milestone Jan 21, 2021
@donker donker requested a review from bdukes January 21, 2021 17:04
Copy link
Contributor

@bdukes bdukes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bdukes bdukes merged commit ac39396 into dnnsoftware:develop Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link popup not working in updated CKEditor
3 participants