【html】textarea根据光标位置添加内容

https://www.cnblogs.com/hpx2020/p/11468683.html

原文地址:https://www.cnblogs.com/colipso/p/12235685.html