Skip to content

Rich Editor removes table column alignment #1962

@joerneu

Description

@joerneu

Describe the bug

As soon as I edit anything in the Rich Editor any table column alignment is removed.

To Reproduce

Go to

CMS Demo

Switch to Markdown and enter:

Table:

| Left | Center | Right |
|------|:------:|------:|
| L1   | C1     | R1    |
| L123 | C123   | R123  |

Switch to Rich Editor:

=> Preview is correct.

  • Type anything, anywhere, even outside of the table

=> Preview changes and all table cells are left-aligned.

Switch to Markdown:

Table is now:

| Left | Center | Right |
| ---- | ------ | ----- |
| L1   | C1     | R1    |
| L123 | C123   | R123  |

Expected behavior

Editing the document in the Rich Editor should not change the table's columns' alignments.

Applicable Versions:

  • Netlify CMS version: 2.3.1
  • Browser version All

CMS configuration

Official demo site.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions