When I copy some content from one editor and paste that to another editor or with in same editor, on paste onTextChange method of editor, stuck in infinite loop and application crash with this error:
Minified React error #185; visit https://reactjs.org/docs/error-decoder. ... ariant=185
Console output before 'Maximum update depth exceeded something like this, keeps adding <p><br></p>:
Code: Select all
<p>Cost Model: Custom</p><p><br></p><p><br></p><ol><li><strong>Facility Cost Pool</strong></li><li><br></li></ol>
<p>Cost Model: Custom</p><p><br></p><p><br></p><p><br></p><ol><li><strong>Facility Cost Pool</strong></li><li><br></li></ol>
<p>Cost Model: Custom</p><p><br></p><p><br></p><p><br></p><p><br></p><ol><li><strong>Facility Cost Pool</strong></li><li><br></li></ol>
<p>Cost Model: Custom</p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><ol><li><strong>Facility Cost Pool</strong></li><li><br></li></ol>
If anyone faced that same issue or have the solution do suggest me please.
Thanks!