最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Undo Redo In Textarea possible? - Stack Overflow

programmeradmin1浏览0评论

I was wondering if there's a way of having undo redo in html form textarea? Is there a way this could be implemented without using a wysiwyg editor and using jquery and keyboard shortcuts ctrl+y ctrl + z?

I was wondering if there's a way of having undo redo in html form textarea? Is there a way this could be implemented without using a wysiwyg editor and using jquery and keyboard shortcuts ctrl+y ctrl + z?

Share Improve this question asked Mar 7, 2011 at 15:50 HirveshHirvesh 7,98216 gold badges62 silver badges74 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 9

Most browsers these days have undo/redo (ctrl-z, ctrl-y) for text areas built in already. Firefox has, as does Safari and Chrome, and I'm fairly sure even IE supports it. Can't say if Opera has support but I'd be surprised if it doesn't

发布评论

评论列表(0)

  1. 暂无评论