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

fix: DES-2598 text editor too short (⚠️ untested) #1102

Merged

Conversation

wesleyboar
Copy link
Collaborator

Overview:

Add styles to CMS Text editor stylesheet to prevent field size bug.

PR Status:

  • Ready… but untested locally.
  • Work in Progress.
  • Hold.

Related Jira tickets:

Summary of Changes:

  • added custom stylesheet for ckeditor
  • added clone of original stylesheet for ckeditor
  • added import of cloned stylesheet

Testing Steps:

  1. Open CMS.
  2. Login as admin.
  3. Create/Edit text on a page.
  4. Add so much content, a scrollbar is needed.
  5. Make the text editor modal narrow.
  6. While editing, view source (click the "[<>] Source" button).
  7. Verify all available height in modal for text editor is used to show source.

UI Photos:

I am unable to provide. I do not have test environemnt.

Notes:

  1. stole code from https://github.com/TACC/Core-CMS/pull/573/files#diff-b613bf1b786994b3d51a81e982cf9106f4a09f8adcc65fd9c14f4f8d54bdfa72R6-R8
  2. applied code like https://github.com/TACC/Core-CMS/blob/v4.0.0/taccsite_cms/static/djangocms_text_ckeditor/ckeditor/contents.css

@wesleyboar wesleyboar changed the title fix: DES-2598 text editor too short — ⚠️ untested fix: DES-2598 text editor too short (⚠️ untested) Oct 4, 2023
@jarosenb jarosenb merged commit 9daf83a into main Oct 5, 2023
2 checks passed
@jarosenb jarosenb deleted the fix/DES-2598-text-editor-source-view-too-short-in-narrow-modal branch October 5, 2023 14:58
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

Successfully merging this pull request may close these issues.

2 participants