Hi RJ
I liked your modifications. Specially #2 and #6 were useful for me. Thanks.
>> Wishlist:
>> 10. The text input panel in the TextPts node loses its focus far too easily which can make editing difficult. I would prefer to click outside the editing area when the editing was complete. I didn't find a way to do that yet.
Find this piece of code in the "main.js" file ( line 3546 )
code:
if (title[0] === "_") { content.onmouseout = function() { this.blur(); this.onchange() }}
Replace it with this:
code:
if (title[0] === "_") {
content.onmouseout = function() { /* this.blur(); */ this.onchange() }; /* Keep the focus */
content.onkeydown = function(e) { if ( e.keyCode === 13 && e.ctrlKey ) this.onchange() }; /* CTRL+ENTER to apply changes */
}
In the second line I've just commented out "this.blur();". So textarea doesn't lose the focus on mouse out.
In the third line I've added "CTRL+ENTER" shortcut to apply changes. So no need to click outside of the text area.
|