我正试图在无状态响应组件内实现contenteditable div。在无状态组件中反应contenteditable
我不断收到以下警告:
warning.js:36 Warning: A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.
我该如何解决这个问题?
此外,如何阅读div上的内容?