Skip to content

CKEditor makes nested Entries writable #813

Description

@TurboThomsen

Describe the bug

Expected Behavior: The CKEditor and other fields should remain in readonly mode inside the Matrix block (now Entry).

Actual Behavior: The readonly mode gets disabled of the entry the CKEditor is in, when nested inside a Matrix field (block view).

Steps to reproduce

  1. Create a EntryType with CKEditor field inside
  2. Create a Field "Matrix" with the new EntryType (block view)
  3. Create an Entry with the new Field in the FieldLayout
  4. Login as an User without permission to edit the entry (readOnly mode)
  5. Open the entry:
    a) On Reload everything is fine
    b) After few seconds the matrix block (entry) is writable

Craft CMS version

5.10.5

Plugin version

3.0.16

Multi-site?

Yes

Additional context

There are many "update-field-layout" requests in the network tab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions