Skip to content

TASK: React warnings regarding unrecognized properties rendered to the DOM  #3894

Open
@markusguenther

Description

@markusguenther

Description

When interacting with the CKEditor component, specifically clicking on the editor and attempting to type, the following React warnings are triggered:

Warning: React does not recognize the executeCommand prop on a DOM element.
Warning: React does not recognize the formattingUnderCursor prop on a DOM element.

Root Cause

These warnings occur because the executeCommand and formattingUnderCursor props are passed directly to DOM elements within the CKEditor component. React does not recognize these as valid DOM attributes, leading to unnecessary warnings in the console.

Steps to Reproduce

  1. Take care that editorOptions: formatting:code is true (for instance, test with Neos.Demo)
  2. Open a page and create a text content node
  3. Click inside an inline editable

Expected behavior

No, react errors in the console.

Actual behavior

Screenshot 2024-12-10 at 15 07 39

Affected Versions

Neos: 8.3

UI: 8.3

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