react-page / react-page

Next-gen, highly customizable content editor for the browser - based on React and written in TypeScript. WYSIWYG on steroids.

Home Page:https://react-page.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning: React does not recognize the `_customComponent` prop on a DOM element.

jink-e opened this issue ยท comments

    Warning: React does not recognize the `_customComponent` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `_customcomponent` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

env:
"@emotion/react": "11.10.4",
"@emotion/styled": "11.10.4",
"@react-page/editor": "^5.1.5",
"react": "17.0.2",
"react-dom": "17.0.2",

Originally posted by @jink-e in #1187 (comment)

reproduce

const TestPlugin = {
  Renderer: (props) => <div>hello</div>,
  id: 'test-plugin',
  title: 'title',
  description: 'description',
  version: 1,
  controls: {
    type: 'autoform',
    schema: {
      required: ['backgroundColor'],
      properties: {
        backgroundColor: {
          type: 'string'},
      },
    },
  },
};

๐ŸŽ‰ This issue has been resolved in version 5.2.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€