mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-22 14:00:03 +00:00
Fixes from @Infurnoape
This commit is contained in:
parent
d58be59586
commit
3b49cd17fc
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user