mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-29 20:42:44 +00:00
2adf09129d
Tada!
20 lines
360 B
JavaScript
20 lines
360 B
JavaScript
/*\
|
|
title: $:/core/modules/editor/operations/text/undo.js
|
|
type: application/javascript
|
|
module-type: texteditoroperation
|
|
|
|
Text editor operation to tell the browser to perform an undo
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
exports["undo"] = function(event,operation) {
|
|
this.execCommand("undo");
|
|
};
|
|
|
|
})();
|