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/4101 update ck editor version #4383

Merged

Conversation

skamphuis
Copy link
Contributor

Closes #4101

Summary

I updated CKEditor to version 4.15.1 and made the required/appropriate changes for that:

  • moved DNN icons and images out of CKEditor folder
  • changed "broken" javascript in EditHTML.ascx for resizing the editor after window.resize
  • updated version numbers for CKEditor in code (mainly for file paths)

@bdukes bdukes added this to the 9.9.0 milestone Dec 17, 2020
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.

Thanks!

This will certainly need some real world testing, but all of the changes look good.

Once #4374 is merged, I have a branch where I've rebased this PR on those changes. Thanks for the very clean commits, it made the rebase very straightforward :-)

Copy link
Contributor

@donker donker left a comment

Choose a reason for hiding this comment

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

Thanks for working on this editor provider!

@bdukes bdukes force-pushed the feature/4101-Update-CKEditor-Version branch from 5882cab to d42c1f3 Compare December 22, 2020 14:44
@bdukes
Copy link
Contributor

bdukes commented Dec 22, 2020

FYI, I've pushed the rebased commits to your branch since #4374 was merged.

@skamphuis
Copy link
Contributor Author

skamphuis commented Jan 4, 2021

While testing some more today, I noticed 2 plugins and a skin where missing from the updated CKE:

  • plugin dnnpages
  • plugin wordcount
  • skin moono (used for the popups)

the 3 commits (just now) add these to the CKE folder.

@skamphuis
Copy link
Contributor Author

Another two commits needed after testing. Link popup didn't seem to work.

  • Had to remove the easyimage and cloudservice plugins, to prevent console warnings (those plugins are not included, but seem to be known in CKE anyway)
  • DefaultLinkProtocol property (new in CKE 4.11) is needed for the link popup to work.

@@ -2,6 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information

using DNNConnect.CKEditorProvider.Constants;
Copy link
Contributor

Choose a reason for hiding this comment

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

(nit) Can this get moved inside the namespace declaration, please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I'll fix that.

I noticed changes like this recently. Do you know the benefits of that?

Copy link
Contributor

Choose a reason for hiding this comment

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

It's primarily a style rule, but it does have some minor benefits (described in the StyleCop rule docs)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That makes sense, thanks.

@bdukes bdukes merged commit 7de3d2f into dnnsoftware:develop Jan 8, 2021
@bdukes
Copy link
Contributor

bdukes commented Jan 8, 2021

Thanks!

@skamphuis skamphuis deleted the feature/4101-Update-CKEditor-Version branch November 23, 2022 10:19
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.

Update CKEditor version
4 participants