Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jquery中是否有任何撤消/重做插件。如果不是,如何在特定的 html 元素上实现和撤消/重做机制。
谢谢。
看看Undo插件甚至Undoable插件。
我的撤消管理器可能满足您的需求:https ://github.com/ArthurClemens/Javascript-Undo-Manager
它与库无关,并且很容易与 jQuery 一起使用(参见演示)。