How to deal with the warning when reactjs adds contentEditable= "true" to div? As shown in the picture

index-fcc9874e.js:53908 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.
    in div (created by c1)
    in div (created by c1)
    in c1 (created by CssMagic)
    in div (created by CssMagic)
    in CssMagic (created by Route)
    in Route
    in Switch
    in div
    in Router (created by BrowserRouter)
    in BrowserRouter

clipboard.png

Apr.08,2022

add suppressContentEditableWarning= "true" V15 or above to contentEditable


I feel unable to handle it, or you should not add contentEditable

Menu