FormidableLabs / prism-react-renderer

🖌️ Renders highlighted Prism output to React (+ theming & vendored Prism)
MIT License
1.85k stars 152 forks source link

Bug: if we use editor with line numbers, the editor can edit content correctly #129

Closed SatyamKr07 closed 7 months ago

SatyamKr07 commented 3 years ago

If we adf line numbers with Editor and then copy paste a piece of code and then try to select the code, you will see some code overlapping is there. Also if you try to use backspace ...wrong content is deleted. Cursor position issue is there. Please fix this. Line numbers with Editor will help easy reference to a specific line of code in an article.

carbonrobot commented 7 months ago

This would be an upstream issue in Prismjs