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

Fixed an issue where it was impossible to edit html on child portals #4828

Merged
merged 3 commits into from
Sep 14, 2021

Conversation

valadas
Copy link
Contributor

@valadas valadas commented Sep 14, 2021

Fixed an issue where it was impossible to edit html on child portals.
Closes #4791

I have also cleaned up the file a bit

  • Resolved all stylecop warnings
  • Removed unhelpful comments on private methods
  • Renamed some variables and methods for better code clarity
  • Updated some comments on public methods
  • Removed commented out code

For an easier review, the bug is the first commit and the other commits are cleanup.

Fixed an issue where it was impossible to edit html on child portals.
Closes dnnsoftware#4791
- Removes unhelpful comments on private methods
- Renames some variables and methods for better code clarity
- Updates some comments on public methods
- Removes commented out code
@valadas valadas added this to the 9.10.2 milestone Sep 14, 2021
Comment on lines 401 to +403
// cloudservices variables need to be set regardless
this.settings.Add("cloudServices_tokenUrl", "/API/CKEditorProvider/CloudServices/GetToken");
var tokenUrl = ServicesFramework.GetServiceFrameworkRoot() + "API/CKEditorProvider/CloudServices/GetToken";
this.settings.Add("cloudServices_tokenUrl", tokenUrl);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Meh, my commits got mixed up, the end result is still fine but this is basically the fix

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And thanks to @bdukes for the hint on the simpler solution than I had in head 😄

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!

/// <returns>
/// Returns if it has rendered text area.
/// </returns>
/// <param name="control">The control to ckeck.</param>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// <param name="control">The control to ckeck.</param>
/// <param name="control">The control to check.</param>

@@ -804,7 +757,7 @@ public bool LoadPostData(string postDataKey, NameValueCollection postCollection)
}

/// <summary>
/// The raise post data changed event.
/// Taises post data changed event.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// Taises post data changed event.
/// Raises the post data changed event.

@mitchelsellers mitchelsellers merged commit 595545c into dnnsoftware:develop Sep 14, 2021
@valadas valadas deleted the issue4791 branch April 14, 2022 21:43
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.

DNN9.10.0 Calling API/CKEditorProvider/CloudServices/GetToken results in user being logged out
3 participants