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

SHS-5996/SHS-5997: WYSIWYG link styles with arrow or external-link show green icon instead of matching the colour palette / WYSIWYG link style "External Link" does not show external icon #1703

Open
wants to merge 2 commits into
base: 11.6.1-release
Choose a base branch
from

Conversation

mariannuar
Copy link
Collaborator

@mariannuar mariannuar commented Dec 19, 2024

READY FOR REVIEW

Summary

  • WYSIWYG link styles with arrow or external-link icon color matches the colour palette
  • WYSIWYG link style "External Link" shows external icon

Need Review By (Date)

12/20

Urgency

medium

Steps to Test

  1. Go to Colorful and Traditional
  2. Or create a flexible page and add a WYSIWYG block with a "More link" style and a "External link" sty;e
  3. Confirm the icon color matches the default colour palette (cardinal) for the "More link"
  4. Confirm the style matches as expected in the "External link" style preview

PR Checklist

@ahughes3 ahughes3 temporarily deployed to Tugboat December 19, 2024 00:59 Destroyed
@mariannuar mariannuar self-assigned this Dec 19, 2024
@mariannuar mariannuar requested a review from cienvaras December 19, 2024 01:21
Copy link
Collaborator

@cienvaras cienvaras left a comment

Choose a reason for hiding this comment

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

@mariannuar Looks good, just a minor change needed.

Comment on lines +343 to +351
.ck-style-grid__button & {
&::after {
width: 18px;
height: 11px;
margin-bottom: 0;
background-size: 11px;
padding-left: 0;
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This file is used for the styles for the WYSIWYG text blocks in the FE theme. The styles you're adding are only for the CKEditor UI, so please move them in the admin theme CSS (docroot/themes/humsci/su_humsci_gin_admin/dist/su_humsci_gin_admin.css).

Also, please add a comment to explain why are you resizing the icon.

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.

3 participants