craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.22k stars 626 forks source link

Matrix field seems to break containing redactor field #10567

Closed idleog closed 2 years ago

idleog commented 2 years ago

I already added this to the redactor-plugin issues, but got no anserw (https://github.com/craftcms/redactor/issues/364#issue-1132714305). So I try here. I can't use matrix with redactor fields for my clients at the moment.

Description

Redactor field in Matrix: When adding a new block (containing redactor field) in matrix field, the redactor field is broken: return key does not create new paragraph, not possible to change format of paragraph. When saving the entry and reopen it, the same redactor field works correctly. After adding new block in matrix, the new redactor fileld shows same misbehaviour.

a regular redactor field not being in matrix has no problems in same entry.

Steps to reproduce

  1. create matrix with block containing redactor field. add to entry template (in my case a channel)
  2. create entry, and add block with redactor field.

Additional info

brandonkelly commented 2 years ago

Following up over at https://github.com/craftcms/redactor/issues/364.