Closed andinus closed 2 years ago
Fixes https://github.com/noledgebin/frontend/issues/19.
This moves to using textarea instead of contenteditable div.
textarea
contenteditable
div
From https://github.com/noledgebin/frontend/issues/19#issuecomment-956036441:
Using contenteditable is a bad idea. To fix this you need to strip formatting, figure out cursor's location and then add the data at that position. It adds to complexity without any benefits.
Fixes https://github.com/noledgebin/frontend/issues/19.
This moves to using
textarea
instead ofcontenteditable
div
.From https://github.com/noledgebin/frontend/issues/19#issuecomment-956036441: