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

Text alignment was lost when get loaded into CK Editor #9193

Closed
LangQian opened this issue Mar 9, 2021 · 0 comments Β· Fixed by #9411
Closed

Text alignment was lost when get loaded into CK Editor #9193

LangQian opened this issue Mar 9, 2021 · 0 comments Β· Fixed by #9411
Assignees
Labels
domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@LangQian
Copy link

LangQian commented Mar 9, 2021

πŸ“ Provide detailed reproduction steps (if any)

  1. Go here
  2. In the console, execute editor.setData("<p align=\"center\">Center Aligned Text </p>");

βœ”οΈ Expected result

The text should be centre-aligned in the editor

❌ Actual result

The text becomes left-aligned.


If you'd like to see this fixed sooner, add a πŸ‘ reaction to this post.

@LangQian LangQian added the type:bug This issue reports a buggy (incorrect) behavior. label Mar 9, 2021
@Reinmar Reinmar added domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. squad:compat labels Mar 10, 2021
@Mgsy Mgsy modified the milestones: backlog, nice-to-have Mar 15, 2021
@psmyrek psmyrek self-assigned this Apr 1, 2021
@psmyrek psmyrek modified the milestones: nice-to-have, iteration 42 Apr 1, 2021
Reinmar added a commit that referenced this issue Apr 3, 2021
Feature (alignment): Added support for the deprecated `align` attribute. Closes #9193.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants