Closed
Description
Is this a bug report or feature request? (choose one)
🐞 Bug report
💻 Version of CKEditor
CKEditor 5, Decoupled build, v12.0.0
📋 Steps to reproduce
- Edit "sample/index.html" and create a link to "reload" the editor content:
window.editor.setData(window.editor.getData());
- Open the file in the browser, create a table and set the "center" text alignment in one or more cells.
- Click the link
✅ Expected result
The editor content (including the centered text alignment) should be retained.
❎ Actual result
The text changes to left (default) alignment.
📃 Other details that might be useful
The editor uses the HTML <td style="text-align:center;">Ce</td>
to denote a table cell with centered text. But, it fails to parse this HTML, and discards the text align information.