1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Fixes from @Infurnoape

This commit is contained in:
Jermolene 2016-04-23 17:23:14 +01:00
parent d58be59586
commit 3b49cd17fc
3 changed files with 4 additions and 5 deletions

View File

@ -8,12 +8,12 @@ Text editor engine based on a simple input or textarea within an iframe. This is
\*/
(function(){
var HEIGHT_VALUE_TITLE = "$:/config/TextEditor/EditorHeight/Height"
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var HEIGHT_VALUE_TITLE = "$:/config/TextEditor/EditorHeight/Height";
function FramedEngine(options) {
// Save our options
options = options || {};
@ -130,7 +130,7 @@ FramedEngine.prototype.focus = function() {
this.domNode.focus();
this.domNode.select();
}
}
};
/*
Handle a dom "input" event which occurs when the text has changed

View File

@ -103,7 +103,7 @@ SimpleEngine.prototype.focus = function() {
this.domNode.focus();
this.domNode.select();
}
}
};
/*
Handle a dom "input" event which occurs when the text has changed

View File

@ -39,7 +39,6 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
Render this widget into the DOM
*/
EditTextWidget.prototype.render = function(parent,nextSibling) {
var self = this;
// Save the parent dom node
this.parentDomNode = parent;
// Compute our attributes