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

[SD-565]hook update to restrict text alignments control WYSIWYG #577

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

yeniatencio
Copy link
Contributor

@yeniatencio yeniatencio commented Jan 13, 2025

Jira

https://digital-vic.atlassian.net/browse/SD-565
Testing link: https://nginx-php.pr-485.content-reference-sdp-vic-gov-au.sdp4.sdp.vic.gov.au/

Problem/Motivation

Restrict users from using the text alignment control in the WYSIWYG to centre or justify text only.

Fix

Hook update to only set ‘left' and 'right’ values in enabled_alignments key present in plugins → ckeditor5_alignment.

Related PRs

Screenshots

Screenshot 2025-01-13 at 5 27 15 pm

TODO

@yeniatencio yeniatencio self-assigned this Jan 13, 2025
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.

2 participants