Paragraphs get removed in table cells when Visual editor is refreshed
|Reported by:||JboyJW||Owned by:|
|Severity:||normal||Keywords:||needs-testing needs-unit-tests needs-patch|
|Cc:||JboyJW, palpatine1976, steph@…, knut@…, nicolas.girardet@…, johanronstrom|
As far as I know, this issue has been around since 3.1. It's not a bug in 3.0.4. I even stopped upgrading at 3.0.4 for any sites where I knew the client would need to edit tabular data. For security reasons, it's time to upgrade these and I'd REALLY like this issue to be fixed.
The problem happens when using paragraphs in a table cell. When I hit enter to create a new paragraph within a table cell, it looks fine. If I then hit Update/Publish, when the page refreshes, WordPress converts that paragraph break into a single line break. If I then click Update again, WordPress removes that linebreak entirely and the paragraphs are essentially merged.
I can also reproduce this behaviour without even clicking Update. If you just switch to HTML mode and then back to Visual mode, the same issue occurs.
Change History (27)
- Keywords needs-patch added; has-patch removed
- Severity changed from normal to major