[英]In the Trumbowyg editor, what's the difference between the built in undo/redo and the History plugin?
I've read the doc and tried the demo, but I can't tell the difference between the built in undo/redo and the History plugin.我已经阅读了文档并尝试了演示,但我无法分辨内置撤消/重做和历史插件之间的区别。
The default buttons are:默认按钮是:
['undo', 'redo'],
The plugin buttons are:插件按钮是:
['historyUndo','historyRedo'],
I've now noticed two differences:我现在注意到两个不同之处:
Curiously, if both the default and plugin buttons are displayed, then clicking either of the default undo/redo buttons will make the plugin's undo button clickable as if there is a change to undo.奇怪的是,如果同时显示默认按钮和插件按钮,那么单击任一默认撤消/重做按钮将使插件的撤消按钮可单击,就好像有更改要撤消一样。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.