-
Notifications
You must be signed in to change notification settings - Fork 3
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-5683: Blockquote implementation #1575
SHS-5683: Blockquote implementation #1575
Conversation
… shs-5683-blockquote-implementation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mariannuar Looks great overall. Just some minor fixes needed, let me know if you have any questions. Please notice I updated the branch with the latest code in fk-stndfd-sprint-54
.
docroot/themes/humsci/humsci_basic/src/scss/ckeditor/imports.scss
Outdated
Show resolved
Hide resolved
docroot/themes/humsci/humsci_basic/src/scss/tools/_mixins.text.scss
Outdated
Show resolved
Hide resolved
docroot/themes/humsci/humsci_basic/src/scss/tools/_mixins.text.scss
Outdated
Show resolved
Hide resolved
docroot/themes/humsci/humsci_basic/src/scss/tools/_mixins.text.scss
Outdated
Show resolved
Hide resolved
docroot/themes/humsci/humsci_basic/src/scss/ckeditor/imports.scss
Outdated
Show resolved
Hide resolved
…DO/suhumsci into shs-5683-blockquote-implementation
@cienvaras Thank you! This is ready for review again 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mariannuar Thanks for the changes, everything look better now, specially the quote icons.
I added some extra changes:
- Moved some of the overrides to the testimonial component styles, to prevent doing extra overrides in the mixin. This reduces the code size a bit and prevents overriding some basic styles for all the blockquotes.
- Removed the
&:not(.hb-testimonial__quote)
styles fromimport.scss
and added back the!important
. While your solution works, it adds an extra class to the CKEditor styles that's not relevant here. If the class changes in the future or if we need to override a new class, then we would need to do extra changes here. We need to ensure that all blockquotes in CKEditor have the same styles, and!important
is the best approach for that in this case. At least you were able to remove the font related styles because they were not needed anymore.
Let me know if you have any question about my changes!
* feat(shs-5663): make editoria11y work as expected (#1570) * feat(shs-5671): add bigger preview images in the editing experience (#1573) * Remove legacy themes modules (#1562) * feat(shs-5631): uninstall legacy themes and remove related configuration * chore(shs-5631): update documentation to remove references to legacy themes * feat: remove legacy themes files * feat: remove hs_mathematics module * SHS-5683: Blockquote implementation (#1575) * feat(shs-5683): blockquote implementation * feat(shs-5683): blockquote implementation
READY FOR REVIEW
Summary
Update blockquotes in wysiwygs
Need Review By (Date)
07/12
Urgency
medium
Steps to Test
Text Area
component and add aBlockquote
Testimonial
component too to confirm it still look the samePR Checklist