1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-09 10:18:06 +00:00

Add focus-editor text operation and use it where sensible (#6012)

* add and use focus-editor text operation

* add docs
This commit is contained in:
Simon Huber
2021-10-27 12:37:40 +02:00
committed by GitHub
parent a0d2392f01
commit d695fca301
3 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
/*\
title: $:/core/modules/editor/operations/text/focus-editor.js
type: application/javascript
module-type: texteditoroperation
Simply focus the Text editor
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
exports["focus-editor"] = function(event,operation) {
operation = null;
};
})();